3197 Commits

Author SHA1 Message Date
Jan Bartel
5bc7882190 Issue #1398 2017-03-16 14:28:41 +11:00
Joakim Erdfelt
ff3db3653e Issue #1396 - correcting Cookie name verification step 2017-03-15 16:56:22 -07:00
Joakim Erdfelt
77bd0a66b8 Issue #1396 - Correcting control character range 2017-03-15 16:26:39 -07:00
Joakim Erdfelt
528c1f7745 Issue #1396 - Correct RFC6265 Cookie.value compliance checking 2017-03-15 16:21:42 -07:00
Greg Wilkins
136ae624ef Issue #1399 2017-03-16 08:10:14 +11:00
Greg Wilkins
3b1d33e944 Issue #1396 RFC6265 cookie compliance 2017-03-15 23:20:45 +11:00
Greg Wilkins
d64218f285 Issue #1399 2017-03-15 18:11:18 +11:00
Joakim Erdfelt
0379401485 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-14 13:19:48 -07:00
Joakim Erdfelt
98cc1f7ee1 Issue #1396 - adding some testcases for Cookie encoding behavior 2017-03-14 13:04:45 -07:00
Joakim Erdfelt
59c31a40e3 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-14 12:07:57 -07:00
Joakim Erdfelt
9120cbf0a1 Adding timeout to SlowClientsTest 2017-03-13 12:30:34 -07:00
Greg Wilkins
aa73cff97f Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-09 20:51:41 +11: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
505595508c Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2017-03-08 17:47:42 -07:00
Joakim Erdfelt
6cf0663fe8 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2017-03-08 17:47:27 -07:00
Brandon Mintern
a32b8d5cc7 Handle spurious files in sessions directory
Fixes issue #1373.

Signed-off-by: Brandon Mintern <brandon@mintern.net>
2017-03-08 18:06:13 -05: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
Joakim Erdfelt
13259d2dc0 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2017-03-08 10:39:54 -07:00
Joakim Erdfelt
65275ec42a Fixes to windows build 2017-03-08 10:38:00 -07:00
Jan Bartel
7ceab7dd5d Issue #1379 2017-03-08 11:28:37 +11:00
Greg Wilkins
0bcdd7ef4a Issue 1363 comments 2017-03-07 07:46:35 +11:00
Simone Bordet
ed535db2d5 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-03-06 16:16:28 +01: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
4a0dd14a81 Jetty 9.4.x 1363 (#1376)
* Issue #1363

This is just some renaming withing HttpInput to improve it's understandability, plus a small
amount of refactoring for EOF handling.

This does not yet fix the deadlock, but is working towards better EOF handling so that state
can be pushed from HttpInput to HttpChannelState and avoid the need to query HttpInput state.

* Issue #1363

Fixed #1363 deadlock by removing the call from HttpChannelState#unhandle to HttpInput This backed out the fix for #1317, which was fixed differently:
 + HttpChannelState#onReadEof now always sets _asyncReadPossible to true and _asyncRead to REGISTERED, so that the tests in both #handling and #unhandle will be true and return an Action.READ_CALLBACK
 + HttpInput#run now moves the state from AEOF to EOF if it directly consumes EOF from interceptedContent
 + HttpInput#run no longer calls onAllDataRead after a onDataAvailable, instead relying on the #onReadEof call to make #unhandle return Action.READ_CALLBACK
 so that onAllDataRead is called on a subsequent execution of #run
2017-03-06 20:00:15 +09:00
Greg Wilkins
0a2da4822d Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-06 14:20:23 +11:00
Simone Bordet
daa2a217e3 Fixes #1184 - IllegalStateException for HEAD requests responded with 404.
Fixed additional code path for requests with Accept header and non-404 response.
2017-02-26 16:20:28 +01:00
Greg Wilkins
45232639ba rename Interest 2017-02-25 12:37:21 +09:00
Joakim Erdfelt
4eda32ddca Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-02-15 11:54:19 -07:00
Joakim Erdfelt
8fe94cd110 Issue #1328 - Making Response.setBufferSize(int) ISE more clear 2017-02-15 11:40:17 -07:00
Greg Wilkins
50e87c05a7 improved naming of context log 2017-02-10 16:00:39 +11:00
Greg Wilkins
b4e4e65994 Issue #612
TODO in Response for using HttpGenerator trailer mechanism
2017-02-10 08:46:46 +11:00
Simone Bordet
d2ada49bb2 Issue #1317 - AsyncProxyServletLoadTest fails.
Removed leftover code.
2017-02-09 22:09:02 +01:00
Simone Bordet
8b76358208 Code cleanups. 2017-02-09 16:11:36 +01:00
Greg Wilkins
046cbe4bc6 Issue #1317
Cleaned up Interest enum
2017-02-09 23:59:14 +11:00
Greg Wilkins
e7c0e2b288 Issue #1317
Fix by checking for the need to call onAllDataRead in unhandle
2017-02-09 23:42:49 +11:00
Greg Wilkins
633b68dc72 Issue #1313 Send 500 if insufficient bytes not committed 2017-02-09 16:22:15 +11:00
Greg Wilkins
1d4825c6c8 fixed merge 2017-02-08 17:10:59 +11:00
Greg Wilkins
a8bc125f5c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-02-08 16:33:10 +11: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
Jan Bartel
b11ad33ae4 Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150 2017-02-08 14:16:19 +11:00
Jan Bartel
f76dafebc3 Issue #1307 2017-02-08 13:05:48 +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
e01636d109 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-02-07 22:31:06 +01: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