Joakim Erdfelt
2dd970b055
Updating to version 9.2.24-SNAPSHOT
2017-12-18 10:43:47 -06:00
Joakim Erdfelt
cdbe733684
Updating to version 9.2.23.v20171218
2017-12-18 09:06:48 -06:00
Olivier Lamy
6499baa3a2
add a build.properties file containing git hash, build timestamp scm url ( #1957 )
...
* add a build.properties file containing git hash, build timestamp and scm url #1956
Signed-off-by: olivier lamy <olamy@webtide.com>
* move build infos to Jetty class so it's available for server and client
Signed-off-by: olivier lamy <olamy@webtide.com>
* apply changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-11 09:26:00 +11:00
Jesse McConnell
a72eb0001d
Updating to version 9.3.23-SNAPSHOT
2017-10-30 15:39:57 -05:00
Jesse McConnell
705048cc49
Updating to version 9.3.22.v20171030
2017-10-30 15:16:29 -05:00
Greg Wilkins
06e00355a2
Fixed #1912
2017-10-20 09:41:47 +11:00
Greg Wilkins
52baec434b
Test #1898
2017-10-17 14:04:53 +11:00
Joakim Erdfelt
36a649a66c
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2017-09-20 14:29:17 -07:00
Simone Bordet
6cb6a9e16f
Fixes #1719 - Improve handling of HTTP/2 queued requests.
...
Clearing _waitingForContent in recycle().
2017-08-21 16:41:04 +02:00
Joakim Erdfelt
0bad6d1e90
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2017-08-17 11:50:45 -07:00
Simone Bordet
d3d02f227e
Fixes #1719 - Improve handling of HTTP/2 queued requests.
...
Idle timeout have a special meaning in that they become a no-operation
if the application is dispatched but idle (neither reading nor writing).
HttpChannelOverHTTP2 now forwards the idle timeout to HttpInput, which
will only change its state if it is interested in reading.
HttpInput.consumeAll() has been modified to consume all input even if
it's already failed.
Failures caused by the other peer (e.g. I/O failures or stream resets)
are now retained and will eagerly consumed any queued data to free up
the flow control windows.
2017-08-09 16:21:53 +02:00
Simone Bordet
7b437cd647
Refactored calls to _transport.abort() to call this.abort().
2017-08-09 10:25:47 +02:00
Joakim Erdfelt
11a544d6ac
Updating to version 9.3.22-SNAPSHOT
2017-08-01 11:26:37 -07:00
Joakim Erdfelt
bb1d69ca52
Updating to version 9.3.21.M0
2017-08-01 10:47:04 -07:00
Simone Bordet
a2b78f1be2
Fixes #1703 - Improve HttpInput failure logging.
2017-08-01 14:21:49 +02:00
Joakim Erdfelt
16d14f90bb
Adding test for bad URI query parsing during request.getParameterMap()
2017-07-07 16:28:56 -07:00
Greg Wilkins
070a58ff59
Issue #1655 ServerConnector configured with channel
...
converted setter to open method
added test harness
2017-07-03 17:48:07 +02:00
Greg Wilkins
fd44bbabde
Issue #1655 added setter for accept channel
2017-07-03 15:34:23 +02:00
Greg Wilkins
6c0100181e
Issue #1655 added openAcceptChannel
2017-07-03 14:51:45 +02:00
Joakim Erdfelt
4d2c299fe8
Updating to version 9.2.23-SNAPSHOT
2017-06-06 08:55:12 -07:00
Joakim Erdfelt
0af30bce5a
Updating to version 9.2.22.v20170606
2017-06-06 07:03:05 -07:00
Joakim Erdfelt
429380d36a
Updating to version 9.3.21-SNAPSHOT
2017-05-31 16:10:04 -07:00
Joakim Erdfelt
0f3b1cbe36
Updating to version 9.3.20.v20170531
2017-05-31 15:24:57 -07:00
Simone Bordet
da05582b9a
Marking the parser at EOF in case of exceptions.
2017-05-17 10:11:10 +02:00
Joakim Erdfelt
cf56168f7d
Updating to version 9.3.20-SNAPSHOT
2017-05-02 15:26:56 -07:00
Joakim Erdfelt
d36d57d5c7
Updating to version 9.3.19.v20170502
2017-05-02 14:31:51 -07:00
Greg Wilkins
2f04b0f869
Fix #1487
2017-04-20 11:38:28 +10:00
Greg Wilkins
23a9c6c1be
Issue #1463
2017-04-12 14:54:18 +10:00
Joakim Erdfelt
9e2aeda052
Updating to version 9.3.19-SNAPSHOT
2017-04-06 07:47:53 -07:00
Joakim Erdfelt
63273aa40b
Updating to version 9.3.18.v20170406
2017-04-06 06:31:02 -07:00
Denis Nedelyaev
daf61cd294
Fix memory leak in GzipHandler ( #1429 )
...
Looks like this leak shows itself only with asynchronous responses.
Some relevant info: http://www.devguli.com/blog/eng/java-deflater-and-outofmemoryerror/
Signed-off-by: Denis Nedelyaev <denvned@gmail.com>
2017-03-30 17:26:56 +11:00
Joakim Erdfelt
dff8fb6b90
Issue parameter decoding ( #1330 )
...
* Issue #1327 - Removing non-standard (Microsoft only) %uXXXX support
* Issue #1322 - Removing attempts at "solving" bad behavior in UrlEncoded
+ No longer captures NumberFormatException and Utf8Exception and
NotUtf8Exception for purposes of "recovering" from a bad encoding.
+ Introduces UrlEncode.decodeHexChar() and .decodeHexByte() to make
reporting of bad encoding more clear.
* Issue #1316 - throw a BadMessageException on bad parameter parsing
+ If BadMessageException is uncaught by the webapp, this will result
in an error 400 response message.
+ If an application decides to catch the BadMessageException, they can
choose to ignore the exception and do their own error reporting.
+ This piggybacks on Issue #1327 and Issue #1322
2017-03-30 14:00:39 +11:00
Greg Wilkins
87a7ff550b
Fixes #1201
2017-03-25 14:24:05 +11:00
Greg Wilkins
ee59b42321
Fixes #1417 ClassLoaderDump
2017-03-23 09:26:36 +11:00
Joakim Erdfelt
a6a0ab991f
Updating to version 9.3.18-SNAPSHOT
2017-03-17 09:48:19 -07:00
Joakim Erdfelt
307d23975e
Updating to version 9.3.17.v20170317
2017-03-17 09:07:39 -07:00
Greg Wilkins
44f9766ddc
Issue #1401 recycle write listener
2017-03-17 09:22:27 +11:00
Greg Wilkins
136ae624ef
Issue #1399
2017-03-16 08:10:14 +11:00
Joakim Erdfelt
98cc1f7ee1
Issue #1396 - adding some testcases for Cookie encoding behavior
2017-03-14 13:04:45 -07:00
Joakim Erdfelt
9120cbf0a1
Adding timeout to SlowClientsTest
2017-03-13 12:30:34 -07:00
Greg Wilkins
f6f86344f3
Fixes #1378 - Slow TLS clients may hang the server.
...
Reduced the stress of the test
2017-03-09 17:51:58 +11:00
Joakim Erdfelt
298de714f6
More windows build fixes
2017-03-08 15:29:54 -07:00
Joakim Erdfelt
0963a1c287
Fixes to windows build
2017-03-08 13:10:53 -07:00
Simone Bordet
36b48c35c3
Fixes #1378 - Slow TLS clients may hang the server.
...
Properly overridden DecryptedEndPoint._writeCallback.isNonBlocking().
2017-03-06 16:10:59 +01:00
Greg Wilkins
45232639ba
rename Interest
2017-02-25 12:37:21 +09:00
Joakim Erdfelt
8fe94cd110
Issue #1328 - Making Response.setBufferSize(int) ISE more clear
2017-02-15 11:40:17 -07:00
Greg Wilkins
10b7326c3c
Issue #1047 - ReadPendingException and then thread death.
...
Tidy up write side.
It cannot be the same as the read side as there is no registration for write interest. There is only write operations and the
callbacks associated with them.
2017-02-08 15:58:35 +11:00
Greg Wilkins
8ecfbab79f
Issue #1047 - ReadPendingException and then thread death.
...
Alternate fix. Tracking needed vs interested state within HttpChannelState rather
that ignoring duplicate interest registrations.
2017-02-08 15:58:35 +11:00
Joakim Erdfelt
5920e14c9b
Merge pull request #1191 from CaoTianze/jetty-9.3.x
...
delete redundant addBean(serverChannel) invoke
2017-02-07 16:58:09 -07:00
Simone Bordet
369c73ab45
Issue #1047 - ReadPendingException and then thread death.
...
Fixed by calling tryFillInterested() rather than fillInterested() to
cope with the race between reads scheduling read interest and
setWriteListener() that also executes code in
HttpChannelState.unhandle() that wants to schedule read interest.
2017-02-07 22:23:52 +01:00
Joakim Erdfelt
98688052ef
Disabling InsufficientBytes tests in 9.3 (fixed in 9.4+)
2017-02-06 11:06:12 -07:00
Joakim Erdfelt
cdc58b4008
Fixing InsufficientBytes test cases
...
+ Because of issues #1045 and #1185 insufficient bytes on a response results in a closed connection
2017-02-06 10:18:26 -07:00
Joakim Erdfelt
0a1eee1c28
Fixing surefire breaking HttpManyWayToCommitTest
...
+ Reverting change to HttpTester.parseResponse(Input)
+ Providing new HttpTester.parsePartialResponse(Input)
+ InsufficientBytes tests no longer assert content strings with invalid
characters (this was breaks the surefire report xml)
2017-02-06 10:18:26 -07:00
Joakim Erdfelt
25a95b83f9
Bad tests take too long
2017-02-06 10:17:56 -07:00
Joakim Erdfelt
0254854299
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2017-02-02 15:54:27 -07:00
Joakim Erdfelt
9a8f22d5dd
Testing Updates
...
+ Upgrading to jetty-test-helper 4.0
+ Removing use of org.eclipse.jetty.toolchain.test.SimpleRequest
+ Removing use of org.eclipse.jetty.toolchain.test.http.SimpleHttpParser
+ Removing use of org.eclipse.jetty.toolchain.test.http.SimpleHttpResponse
+ Updating long since deprecated (and now removed) known quirky methods
in jetty-test-helper and the test classes.
2017-02-02 15:51:38 -07:00
Greg Wilkins
461c6082ae
Issue #1296 - Introduce HTTP parser "content complete" event.
2017-02-01 23:54:36 +01:00
Jesse McConnell
e695fc80d6
Updating to version 9.2.22-SNAPSHOT
2017-01-20 12:32:51 -06:00
Jesse McConnell
513b5e5f90
Updating to version 9.2.21.v20170120
2017-01-20 12:32:00 -06:00
Jesse McConnell
66b43ecda8
Updating to version 9.3.17-SNAPSHOT
2017-01-20 09:33:43 -06:00
Jesse McConnell
df03355d00
Updating to version 9.3.16.v20170120
2017-01-20 09:06:48 -06:00
Greg Wilkins
f9c829f7cc
Issue #1269
...
report inferred encoding
2017-01-20 11:38:21 +11:00
Greg Wilkins
91987d4233
Issue #1269
...
Stop call to getCharacterEncoding forcing a choice.
2017-01-20 11:18:23 +11:00
Simone Bordet
07838b057f
Happy New Year 2017.
2017-01-19 18:54:03 +01:00
Simone Bordet
347c48d657
Revert "resolve merge and update license headers"
...
This reverts commit 53b31b03dd
, reversing
changes made to 4565c186d7
.
2017-01-19 18:26:43 +01:00
Jesse McConnell
53b31b03dd
resolve merge and update license headers
2017-01-19 09:33:16 -06:00
Jesse McConnell
ce3e6dafec
update license headers to 2017
2017-01-19 09:30:00 -06:00
Simone Bordet
53281d3202
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2017-01-18 18:52:20 +01:00
Simone Bordet
f97396b131
Fixes #1275 - Get rid of Mockito.
...
Converted the 2 tests that were using Mockito and removed from the POMs.
2017-01-18 17:09:57 +01:00
Greg Wilkins
70866690e4
Issue #1270 Avoid GzipHandler rework by DispatcherType exclusion
2017-01-18 14:11:25 +11:00
Greg Wilkins
a4dd1672da
Fixes #1269 extensible assumed mimetypes
2017-01-18 13:42:42 +11:00
Greg Wilkins
76e9849fcd
Issue #1262 Avoid reflection in isMappedBuffer
2017-01-17 15:23:26 +11:00
Simone Bordet
11d669092a
Issue #1073 - JDK9 support in Jetty 9.3.x.
...
* Updated Maven plugins to versions that support JDK 9.
* Added jdk9 profiles to the build files.
* Introduced modules jetty-alpn-java-client and jetty-alpn-java-server
containing a pure JDK 9 implementation of ALPN.
* Wired ALPN connection factories (client and server) to use the proper
ALPN implementation based on the JDK platform version (8 or 9).
2017-01-12 15:41:02 +01:00
Greg Wilkins
36dcf47f18
Issue #1234 onBadMessage
...
Added a boolean to determine if headerComplete has been called, and if so then earlyEOF is called
2017-01-11 17:36:04 +11:00
Olivier Lamy
9bc4cd32fc
backport of fixes for #592 ( #1208 )
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-01-01 20:33:51 +11:00
Joakim Erdfelt
7494914ff6
Updating to version 9.3.16-SNAPSHOT
2016-12-20 13:09:32 -07:00
Joakim Erdfelt
680ecd646b
Updating to version 9.3.15.v20161220
2016-12-20 12:31:58 -07:00
cao tianze
0a97b66b14
delete redundant addBean(serverChannel) invoke
...
Signed-off-by: cao tianze <hnrcao@qq.com>
2016-12-20 01:15:32 +08:00
Joakim Erdfelt
6b3b59df43
Updating to version 9.2.21-SNAPSHOT
2016-12-16 16:23:06 -07:00
Joakim Erdfelt
bcbcee7f23
Updating to version 9.2.20.v20161216
2016-12-16 15:47:41 -07:00
Joakim Erdfelt
c70fa88be0
Issue #1175 - Correcting test DispatchType
2016-12-14 12:16:53 -07:00
Joakim Erdfelt
f91d1e01fe
Issue #1175 - More realistic test of commons-fileupload behavior
2016-12-14 11:53:10 -07:00
Joakim Erdfelt
f846b37cbb
Issue #1175 - Adding testcase to Jetty 9.3.x
2016-12-14 10:58:36 -07:00
Simone Bordet
07c9bc5a51
Fixes #1169 - HTTP/2 reset on a stalled write does not unblock writer thread.
...
The fix notifies the transport when a reset frame is received,
allowing the transport to fail the write callback which then notifies
the application, either by throwing (in case of blocking writes) or
by calling error listeners.
Also added a guard, in HttpChannel.handle() for the ERROR_DISPATCH case,
that checks if the response is already committed, and if so, abort
the transport - similar to what's already there for 9.4.
2016-12-14 11:07:00 +01:00
Greg Wilkins
af5d27c2f7
Issue #1146 DecryptedEndPoint deadlock
2016-12-07 22:50:27 +11:00
Simone Bordet
dd76ed2449
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-11-25 09:04:16 +01:00
Simone Bordet
f254dbc0b6
Fixes #1130 - PROXY protocol support reports incorrect remote address.
2016-11-25 08:56:56 +01:00
Joakim Erdfelt
fd20d46659
Issue #1062 - adding https/ssl/tls test varient to ThreadStarvationTest
2016-11-17 16:42:37 -07:00
Jan Bartel
05f2e56aa1
Merge pull request #1093 from nevafuse/patch-3
...
Keep restored file if saving periodically
2016-11-16 10:53:59 +11:00
nevafuse
236571eaee
only periodically save recently accessed sessions
...
Signed-off-by: nevafuse <nevafuse@gmail.com>
2016-11-12 22:12:56 -05:00
nevafuse
e05faf77c8
keep restored file if saving periodically
...
Signed-off-by: nevafuse <nevafuse@gmail.com>
2016-11-12 22:11:17 -05:00
Jesse McConnell
9a6f68be78
Merge branch 'release-9.3.14' into jetty-9.3.x
2016-11-07 10:45:04 -06:00
Simone Bordet
998c5729ec
Fixes #1072 - InetAccessHandler needs InetAddress & Path based restrictions like IPAccessHandler did.
...
Introduced isAllowed(InetAddress, HttpServletRequest) so that it
would be possible to make access decisions also based on request
information such as context, path, headers, etc.
2016-11-07 16:20:15 +01:00
Simone Bordet
fe1aed24c0
Code cleanup.
2016-11-07 16:15:11 +01:00
Greg Wilkins
bbc21e8648
Issue #1065 Improved error message on setBufferSize
2016-11-03 15:06:32 +11:00
Joakim Erdfelt
2c38511828
Updating to version 9.3.15-SNAPSHOT
2016-10-28 13:01:34 -07:00
Joakim Erdfelt
14611d2f76
Updating to version 9.3.14.v20161028
2016-10-28 12:21:02 -07:00
Simone Bordet
206122756f
Fixes #1037 - Don't execute AsyncListener.onTimeout events in spare Scheduler-Thread.
...
Now calling onTimeout() from pooled threads.
Restored AsyncListener test cases.
2016-10-28 12:01:39 +02:00
Simone Bordet
33eb768d69
Fixes #1029 - Restore Request.setHttpVersion().
...
Also cleaned up the asymmetry in MetaData between the setter
(setHttpVersion()) and the getter (getVersion()).
2016-10-25 15:45:29 +02:00
Joakim Erdfelt
fccffdb526
Merge branch 'release-9.3.13' into jetty-9.3.x
2016-10-20 09:25:57 -07:00