d8dd76c6e0
* SAM: Volatiles and finals
2012-08-08 17:01:59 +00:00
1ab8200c7f
* Clone System properties before iterating to avoid
...
ConcurrentModificationException (ticket #680 )
2012-08-06 14:45:37 +00:00
764a7f2e13
remove unused private items (eclipse)
2012-03-26 00:52:06 +00:00
1db58dee89
remove unused local variables (eclipse)
2012-03-25 22:16:03 +00:00
f13956d380
remove unused imports (eclipse)
2012-03-25 21:45:18 +00:00
3e889d2747
remove unnecessary casts (eclipse)
2012-03-25 20:42:41 +00:00
cadedeb06c
* Build: Add built-by to jars; check for corrupt jars on debug page
2012-03-01 16:04:17 +00:00
c902d4c219
remove SAM client classes from sam.jar
2012-01-27 13:33:41 +00:00
7213ff0c76
* Build: Put Implementation-Version in manifests
2012-01-15 16:36:17 +00:00
c5f04ee9c4
- Don't do 'mtn list changed' if not in a workspace or not needed
2011-06-08 20:15:53 +00:00
fd91927c11
* Build:
...
- Add includeAntRuntime=false to all javac targets
- Add build date, mtn rev, and changed file list to all manifests
- Add unless=uptodate to all jar and war targets
(bob and dtg still todo)
2011-02-17 12:47:35 +00:00
612d06bd53
* Build: Move all dependencies to top-level build.xml,
...
so each sub-build.xml is only executed once (true DAG)
2010-11-28 03:56:56 +00:00
2baee7413c
* Replace size() <= 0 with isEmpty() everywhere, ditto > 0 -> !isEmpty()
2010-05-05 16:51:54 +00:00
5eccc01de6
merge of '1d77e0a89198e422acfb66d9310fad7b0b290e38'
...
and '5271eb82ac21ebc1a96dd31c462a14e2aaa0c89e'
2009-09-13 16:33:32 +00:00
1850e893e9
removes a bug in SAM v1 and v2 (introduced when merging with v3)
2009-09-07 17:33:29 +00:00
2341793546
writeString(String str): synchronize using socket write lock to prevent split SAM messages
2009-09-06 00:43:45 +00:00
abc23e9a49
* Move almost all uses of StringBuffer to StringBuilder,
...
for efficiency (thanks Arsene for the suggestion)
2009-07-01 16:00:43 +00:00
e86e42818a
SAMv1 and SAMv3 : logging some exception at INFO level
2009-05-24 16:04:57 +00:00
965b183d9e
fix: warnings when generating javadoc
2009-05-12 10:46:34 +00:00
bc7a963f5c
correct a null pointer exception check before it gets caught and logged as an error
2009-05-10 20:23:08 +00:00
ef737415c5
SAMv3: bug corrected: sending datagrams through the datagram session socket works (like in v1 and v2)
2009-05-08 14:33:03 +00:00
30b73ffe6d
changed samv3 because of reverted streaming and mstreaming libs
2009-05-05 12:39:14 +00:00
e42f7ab8fc
apps/sam/java/build.xml reflects dependancy upon streaming.jar
2009-05-05 09:28:10 +00:00
54b80d6724
merge of '40606168f4086dbe122e96b533df4f24b5e4d87d'
...
and '44a775450f24ec5d2e921ab01b94546968f81851'
2009-05-05 09:24:26 +00:00
157b85b11b
pass compiler args down from top build.xml
2009-04-26 15:54:51 +00:00
4ffa2450c2
* SAMv3 : doc/sam.3.0-protocol.txt updated
...
* SAMv3 : SAMv3StreamSession.java: thread naming for debugging purpose
2009-04-26 10:14:23 +00:00
0c738e2c6f
SAMv3: stream session stop listening when the forwarding session closes. Doc has to be changed to reflect this.
2009-04-23 00:55:12 +00:00
eae4362181
SAMv3: NAMING ME request now work on stream sessions
2009-04-21 04:14:53 +00:00
bc831d3c35
Changelog: SAM : big bug in SAMv1Handler corrected
2009-04-06 09:53:01 +00:00
d54695e542
add dependency to streaming lib to apps/sam/java/build.xml
2009-04-06 08:16:19 +00:00
fcbfd7554f
SAMv3: alternate form of calling SAMBridge.main. Usage message updated.
2009-04-06 06:39:30 +00:00
6b825fbe25
SAMv3 : protocol better specified, and small changes in the code reflecting the new protocol
2009-04-05 21:32:43 +00:00
de6edc6a99
2009-04-04 10:28:31 +00:00
bc086a78eb
explicit merge of '7bae8d314209ec279a4da918dc3255e31bda7e45'
...
and '3b133e76d8124df27791cb78006e7c2b9a8b6430'
2009-04-02 08:57:46 +00:00
a4d16af95d
SAM version 3 :
...
- Raw and Datagram sessions implemented
- option "SILENT=true" added to the stream protocol
- java 6 warnings removed
ministreaming :
- java 6 warnings removed
ministreaming and streaming :
- added functions :
I2PServerSocket.waitIncoming(long timeout)
I2PServerSocket.accept(boolean block)
2009-04-02 08:22:31 +00:00
3e7e5d6113
dont build sam tests by default
2009-01-13 19:54:07 +00:00
bad4c4a133
SAM: Convert from I2PThread to I2PAppThread so it won't
...
shutdown the whole router when ooming.
2008-11-20 14:59:55 +00:00
c7bb2e8f76
* build files:
...
- Don't die if depend not available
- Only verify Jetty hash once
- Add streaming lib tests to depends task
2008-11-14 14:48:08 +00:00
98038e9282
* Build files:
...
- Use the depend task with caching for more accurate dependencies
- Make sure the routerconsole gets the latest router version
- Fix addressbook repeated builds
2008-11-12 17:08:09 +00:00
1c6b78a8da
SAM davadoc cleanups
...
JDK5 compliance
2008-10-12 16:07:23 +00:00
4ec82beec5
* build files: Change to source=1.5, target=1.5
2008-10-10 17:25:58 +00:00
5782c42d25
Cleaned up all 'imports' in all applications, core and router.
2008-07-16 13:42:54 +00:00
17b719f3f7
2007-12-02 Complication
...
* Commit SAM v2 patch from mkvore (thank you!)
* Minor reformatting to preserve consistent whitespace
in old SAM classes (new classes unaltered)
2007-12-03 04:19:25 +00:00
45e6608ad3
Added 'Unit test passed' log message and made test check that Bug #99 is fixed.
2005-03-24 01:50:19 +00:00
28978e3680
Fixed Bug #99 : Data pending to be sent is still sent even if STREAM CLOSE is issued.
2005-03-24 01:49:00 +00:00
2d15a42137
big code cleanup to reduce number of compiler warnings
2005-03-01 23:25:15 +00:00
10ed058c2e
2005-02-22 jrandom
...
* Reworked the tunnel (re)building process to remove the tokens and
provide cleaner controls on the tunnels built.
* Fixed situations where the timestamper wanted to test more servers than
were provided (thanks Tracker!)
* Get rid of the dead SAM sessions by using the streaming lib's callbacks
(thanks Tracker!)
2005-02-23 04:20:28 +00:00
7b58d0fa0f
Allow an unneeded newline in the SAM client protocol without disconnecting.
2005-02-09 19:28:29 +00:00
b2f183fc17
2004-12-14 jrandom
...
* Reenable the probabalistic drop on the TCP queues to deal with good old
fashioned bandwidth limiting. However, by default the probability is
rigged to reserve 0% of the queue free - meaning we just aggressively
fail messages in the queue if we're transferring too slowly. That
reservation factor can be increased with 'tcp.queueFreeFactor=0.25'
(or whatever) and the drop code can be disabled with the parameter
'tcp.dropProbabalistically=false'.
* Still penalize a peer on tunnel failure, but don't immediately drop
their capacity to 0.
* More aggressively ACK duplicates
* Randomize the timestamper period
* Display the clock skew on the connection logs when a peer sends it.
* Allow the timestamper to fix skews of up to 10 minutes
* Logging
2004-12-14 11:54:39 +00:00
d88396c1e2
2004-12-08 jrandom
...
* Revised the buffering when reading from the SAM client and writing
to the stream. Also added a thread (sigh) so we don't block the
SAM client from giving us more messages for abnormally long periods
of time.
* Display the router version in the logs on startup (oft requested)
* Fix a race during the closing of a messageOutputStream
2004-12-08 17:16:16 +00:00