bb082c35fc
recognize more error codes
2015-04-04 19:14:30 +00:00
f7577e7de8
i2ptunnel: Return specific error pages to client on errors
...
in HTTP header processing in the HTTP server (ticket #1507 )
2015-04-04 19:12:18 +00:00
b5df13d8b7
propagate from branch 'i2p.i2p' (head 2cb50c2864d750f33039bdbaeb6c15d2bd636ce4)
...
to branch 'i2p.i2p.zzz.test2' (head 9775e688503ec47dc12efa860a5571317af5f063)
2015-04-04 17:04:52 +00:00
9d76790cc5
javadoc
2015-04-04 17:01:40 +00:00
706ee243a5
Streaming read timeout fixes:
...
i2ptunnel:
- Better timeout handling when reading headers in HTTP server (improved fix for ticket #723 )
Enforce total header timeout with new readLine()
- Prep for returning specific HTTP errors to client on request timeout and header errors,
instead of just closing socket... further work to be in i2p.i2p.zzz.test2 branch
Streaming:
- Fix read timeout on input stream - was waiting too long, often twice as long as timeout, or more
Enforce total timeout even when notify()ed
- Fix read() returning 0 on read timeout instead of -1 (possible fix for ticket #335 )
This prevents passing partial headers to server on timeout
- Fix javadocs for read timeout to match current behavior
- Fix StandardSocket SoTimeout to account for differences with I2PSocket readTimeout
- log tweaks
2015-04-04 17:00:57 +00:00
351a1a8d27
i2ptunnel: Fix NoSuchElementException processing proxyList
...
caused by 03-31 checkin
2015-04-04 16:59:21 +00:00
6916cd7977
merge of '18f97452ba9fd5a7274ca689084ffe49b55c2cf3'
...
and 'c9caed8c48615dc740061fd28315ee659e1afe20'
2015-04-04 15:42:14 +00:00
a444c25c2c
silence findbugs: use of uninitialized value
2015-04-04 13:44:37 +00:00
45bc533e38
findbugs fix: equals() used to compare array and nonarray
2015-04-04 13:37:18 +00:00
03e890b01c
merge of '2e3b52a13c62422d86931cd194870b7e2698f3c2'
...
and 'fde331f6b10f0ef936a2aa0d68092df22348a581'
2015-04-04 11:21:50 +00:00
0c90162e20
Copy directly into buffer without intermediate buffer
2015-04-04 02:27:24 +00:00
ddc3ef8db3
Removed unnecessry buffering
2015-04-04 00:05:29 +00:00
fcec43b7ca
i2ptunnel: Fix stopping tunnel on bad args when starting,
...
broken by new state code
2015-04-03 23:46:24 +00:00
edb614d970
wrapper.config: Remove old mortbay properties, unused by new Jetty
2015-04-03 23:40:39 +00:00
820b99e3d3
Commented out java runtime argument
2015-04-03 23:20:39 +00:00
cf0453cee0
Initialize uniqueId lazily to avoid wasting entropy for messages where it isn't used
2015-04-03 23:01:16 +00:00
75a8d8f6d3
more ssl config tweaks
2015-04-03 13:33:59 +00:00
1ac8d99145
i2ptunnel: Send HTTP server port 443 traffic to the server
...
transparently, to support HTTPS over the same tunnel,
when so configured.
Jetty: Add extensive help to jetty-ssl.xml for setting
up SSL on the same server.
2015-04-03 12:19:41 +00:00
b7b5512e7a
Formatting
2015-04-02 23:01:41 +00:00
bb68728c82
Added link to blog post explaining why the flag was added
2015-04-02 20:44:52 +00:00
f3b2eb69d2
Fixed syntax error
2015-04-02 16:32:38 +00:00
168d688fc9
Disable JVM stats being written to file, to prevent long (up to ~400ms) pauses.
...
- Blog post: http://www.evanjones.ca/jvm-mmap-pause.html
- This change prevents tools that use the stats-file (/tmp/hsperfdata) from working (like jstat)
2015-04-02 16:05:43 +00:00
ade93ea76d
Added model name for Xeon E3-1230v2
2015-04-02 15:58:46 +00:00
44503af88b
* Job Queue/stats: add stat/graph for amount of scheduled jobs.
2015-04-01 22:34:39 +00:00
eb7693561b
spelling
2015-04-01 13:59:51 +00:00
3ccb03f9be
propagate from branch 'i2p.i2p' (head bf7fc6bb213e734788d6527a4a689184ff73d6ad)
...
to branch 'i2p.i2p.zzz.test2' (head 6a04d890ef0ebf179ec6801d9d96afff26a2e515)
2015-04-01 13:48:18 +00:00
f3a2af8f10
make job runner quantity configurable
2015-04-01 13:48:06 +00:00
2ef615a3f7
I2CP: Allow larger client clock skew (ticket #1503 ),
...
better error message to client
javadocs
2015-04-01 12:50:51 +00:00
20197fc3ec
i2psnark: Fix changing data directory on Windows (ticket #1503 )
2015-04-01 12:41:38 +00:00
fadc624f7c
API: Fix some client-side APIs to honor defaults in Properties;
...
add javadocs to specify where we do and don't (ticket #1491 )
2015-03-31 13:18:11 +00:00
22c4149358
fix another split() bug
2015-03-31 11:26:02 +00:00
c770c6bc6a
i2ptunnel: Fix multiple SSL outproxies in HTTP client
...
escape and truncate URL on error page
2015-03-31 11:21:32 +00:00
891408191e
UPnP: Don't rescan when shutting down
2015-03-29 14:59:11 +00:00
9a8fa246a9
I2CP: Prevent NPE when router receives messages without prior session (ticket #1503 )
2015-03-29 13:45:14 +00:00
83c3152b5d
JobQueue: Don't start thread in constructor (ticket #973 )
2015-03-29 13:40:04 +00:00
956730c5e9
log tweak to help diagnose ServerSocket closed
2015-03-28 10:54:00 +00:00
72b9c92a6e
better 7 bit error message
2015-03-28 10:51:59 +00:00
349255d252
exit code checks and javadocs
2015-03-28 10:49:43 +00:00
ac902badcd
log tweak to hide i2pd badness
2015-03-28 10:47:10 +00:00
f3d573cab0
i2ptunnel HTTP client: Replace all getBytes() calls
...
with a Writer or getBytes("UTF-8") for efficiency and to
avoid encoding issues.
Store strings as strings, not bytes.
Catch IOEs to prevent cascading error pages.
Minor cleanups
2015-03-25 12:10:14 +00:00
9e18c7ea18
Streaming: Throw I2PSocketException when connection is reset,
...
display new error page in HTTP client (ticket #643 )
javadocs
2015-03-24 14:33:36 +00:00
a975dc4427
Summary bar: linkify news headings, remove 'show news' link
2015-03-23 15:47:33 +00:00
b875e284af
merge of '33b368d75d4b7536dd4a29efa35fba64e6dc409d'
...
and '8eb5a0d367c4b34eadc326e0ba727e998e6f5505'
2015-03-23 14:21:05 +00:00
46fe4298b9
States for TunnelController ( #815 )
2015-03-23 13:59:05 +00:00
9790d3ba64
Tweak so TODO is marked in IDEs
2015-03-23 12:50:33 +00:00
2d31f30a22
ReadWriteLock in TunnelControlGroup ( #815 )
2015-03-23 12:49:30 +00:00
2fefe93922
merge of '91e8b79f2d8c4ffd26867eb6ddd0ee63d22b0ca9'
...
and 'dd39c6a48fec46017ce527d8b8b8208369ecda5e'
2015-03-23 12:47:40 +00:00
399b068a4e
Fixed NPE in test
2015-03-23 03:54:21 +00:00
dcffde6eeb
Javadoc: missing package.html files in applications (ticket #1109 )
2015-03-22 18:37:40 +00:00
78074f6a7e
Javadoc: missing package.html files in i2p.jar (ticket #1109 )
2015-03-22 17:32:35 +00:00