Greg Wilkins
c9a1395f08
Issue #1618 Async dispatch encoded passed URI
2017-08-08 09:13:43 -07:00
Joakim Erdfelt
3fdbcffbbd
Updating to version 9.2.23-SNAPSHOT
2017-08-08 09:12:55 -07:00
Jan Bartel
b2187b3b1c
Issue #1591
2017-08-08 09:12:53 -07:00
Greg Wilkins
e7ef74dd4f
removed deprecated test method usage
2017-08-08 09:10:25 -07:00
Greg Wilkins
189cc4e369
Issue #1468 Configure PKIX Revocation Checker for SslContextFactory
2017-08-08 09:10:14 -07:00
Joakim Erdfelt
a7bcac6d75
Updating to version 9.3.20.v20170531
2017-08-08 09:07:35 -07: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
6a3c40e935
Updating to version 9.4.7-SNAPSHOT
2017-05-31 17:26:34 -07:00
Joakim Erdfelt
8ba0f2d95d
Updating to version 9.4.6.v20170531
2017-05-31 16:22:52 -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
Christoph Dreis
e9f398cf41
Deprecate ConcurrentHashSet ( #1570 )
...
Signed-off-by: dreis2211 <christoph.dreis@freenet.de>
2017-05-30 21:46:11 +02:00
WalkerWatch
82c909acdc
Documentation updates
2017-05-18 12:12:32 -04:00
Greg Wilkins
971bdac6b0
Issue #1546 Ignore $names in Cookies in RFC6265 compliance mode
2017-05-18 07:47:33 +02:00
Simone Bordet
5adeee1d2b
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-05-17 10:11:57 +02:00
Simone Bordet
da05582b9a
Marking the parser at EOF in case of exceptions.
2017-05-17 10:11:10 +02:00
Greg Wilkins
155e3e9bcd
Issue #1546 - more cookie fixes
2017-05-16 06:05:55 +02:00
Greg Wilkins
5141085fed
Issue #1546 - more cookie fixes
2017-05-15 23:34:28 +02:00
Joakim Erdfelt
fc6ca37c77
Updating expectations in RequestTest from changes in CookieCutter
2017-05-15 13:22:01 -07:00
Greg Wilkins
166736db55
Issue #1546 - more cookie leniency fixes
2017-05-15 21:01:15 +02:00
Joakim Erdfelt
c5a0c5e761
Issue #1546 - more leniency testcase
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-05-15 11:04:09 -07:00
Greg Wilkins
04fe477e79
Issue #1546 Fixed cookie tests
2017-05-13 16:21:06 +02:00
Greg Wilkins
bdeea10a6f
Issue #1546 Fixed some tests. @Ignored for now
2017-05-13 09:12:11 +02:00
Joakim Erdfelt
dea2c340a4
Issue #1546 - Adding tests for CookieCutter
...
+ CookieCutterTest adds basic examples from RFCs
+ CookieCutter_LenientTest adds many examples of problematic
lenient cookie parsing.
2017-05-12 16:39:33 -07:00
Greg Wilkins
06f721e3c2
Issue #1546 quotes in cookies
2017-05-12 10:38:37 +02:00
WalkerWatch
e091701bcd
Reviewing modules for #207
2017-05-09 13:38:14 -04:00
Greg Wilkins
b0edf18ad9
Issues #1538 #1435
...
Get base content type directly rather than through Type which maybe null
2017-05-08 15:31:00 +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
Joakim Erdfelt
782f36f157
Updating to version 9.4.6-SNAPSHOT
2017-05-02 14:29:09 -07:00
Joakim Erdfelt
9d8ad7489c
Updating to version 9.4.5.v20170502
2017-05-02 13:22:18 -07:00
Jan Bartel
f9e9fd645d
Issue #1510
2017-04-27 12:47:51 +02:00
Greg Wilkins
5e5d650b05
Issue #1500
2017-04-26 16:02:18 +02:00
Greg Wilkins
fe173454e1
Fixed #1500
2017-04-26 15:38:18 +02:00
Greg Wilkins
29a26c76a2
Fixes #1493
2017-04-21 13:25:18 +10:00
Greg Wilkins
6bb8f793a3
Fixed #1487 #1486
2017-04-20 14:32:54 +10:00
Greg Wilkins
02276974a8
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-20 13:19:28 +10:00
Greg Wilkins
2f04b0f869
Fix #1487
2017-04-20 11:38:28 +10:00
Joakim Erdfelt
92ea5bda21
Updating to version 9.4.5-SNAPSHOT
2017-04-14 14:43:36 -07:00
Joakim Erdfelt
3dc8f557c6
Updating to version 9.4.4.v20170414
2017-04-14 13:20:17 -07:00
Joakim Erdfelt
19f28a5a8c
Issue #1475 - some code cleanup
2017-04-14 13:03:17 -07:00
Joakim Erdfelt
e598f5da14
Issue #1475 - more tests for bad ContextHandler.logger creation
2017-04-14 12:53:25 -07:00
Joakim Erdfelt
ccfe579a55
Issue #1475 - SIOOBE in ContextHandler startup
...
+ Fixed ContextHandler logname creation to be more resilient to
bad characters that are unsuitable for a log name
+ Corrected AbstractLogger condensePackageString() to be
more resilient to bad characters and classname formatting
2017-04-14 12:04:18 -07:00
Jan Bartel
509f59c32d
Issue #1472
2017-04-14 14:43:41 +10:00
Greg Wilkins
b6b451a988
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-12 14:56:47 +10:00
Greg Wilkins
23a9c6c1be
Issue #1463
2017-04-12 14:54:18 +10:00
Greg Wilkins
c4f2be4cfa
Issue #1454 convenience methods
2017-04-11 10:09:33 +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
Simone Bordet
648448435d
Issue #1456 - Error dispatch race with async write.
...
Improved attempt to send a response in case of a failure while trying
to perform the error dispatch.
Fixed tests to use AbstractHandler.ErrorDispatchHandler.
2017-04-06 13:15:18 +02:00
Simone Bordet
c26af90978
Issue #1456 - Error dispatch race with async write.
...
Provisional fix catching IllegalStateExceptions and aborting the
transport; the Servlet Specification should clarify how the race
can be avoided altogether.
2017-04-06 10:53:38 +02:00
Jan Bartel
7e2f08a7ad
Issue #1450
2017-04-06 15:01:17 +10:00
Simone Bordet
c285d6f8bb
Fixes #612 - Support HTTP Trailer.
...
Added support on both the server and the client, for HTTP/1 and HTTP/2.
2017-04-03 22:25:50 +02:00
Simone Bordet
a994244454
Code cleanup.
2017-04-03 22:25:50 +02:00
Greg Wilkins
f06c7c358f
Fixes #1440
...
Improve low resource solution for scheduling strategy.
Replaced the dual scheduling strategy with a single re-implementation of EatWhatYouKill
that can adapt to act as ProduceConsume, ExectureProduceConsume or ProduceExecuteConsume
as need be.
Squashed commit of the following:
commit 25eeb32181
Author: Greg Wilkins <gregw@webtide.com>
Date: Sat Apr 1 09:08:49 2017 +1100
renamed variables
commit 4f370d84ca
Merge: 8159c50
823cbe1
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 31 11:54:26 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 8159c508f0
Merge: 5805a92
daf61cd
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 17:28:00 2017 +1100
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x-ewyk
commit daf61cd294
Author: Denis Nedelyaev <denvned@gmail.com>
Date: Thu Mar 30 04:15:32 2017 +0300
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>
commit 5805a92d0e
Merge: cfabbd2
dc759db
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 17:12:38 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit cfabbd2341
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 16:04:57 2017 +1100
minor cleanups
commit c7aa64aa10
Merge: bacf51a
18f17ac
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 14:58:37 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit bacf51a83d
Merge: 11ba4bc
2fafa1d
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 14:13:36 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 11ba4bc849
Merge: 69003d3
1a0b2df
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 13:48:09 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 69003d3dd9
Merge: f89b08d
a8ff18d
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 30 12:35:27 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit f89b08d08a
Merge: 7a87c8e
00b42ca
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 23 16:01:00 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 7a87c8ec9d
Merge: 1a92015
12dc169
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 23 10:27:14 2017 +1100
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ewyk
commit 1a92015471
Author: Greg Wilkins <gregw@webtide.com>
Date: Tue Mar 21 09:23:53 2017 +1100
better spruious wakeup handling and other simplifications
commit c01a910b69
Merge: 0b2b9ea
67ec4b0
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 14:59:37 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 0b2b9ea187
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 14:52:49 2017 +1100
cleanup
commit c1d92ebde6
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 13:41:45 2017 +1100
Fixed push
commit d2d6bc3e65
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 12:18:03 2017 +1100
minor cleanups
commit c1a159b7a9
Merge: 01349ac
78f4712
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 09:30:44 2017 +1100
Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk
commit 01349ac935
Merge: 4dc1503
08f351b
Author: Greg Wilkins <gregw@webtide.com>
Date: Fri Mar 17 08:16:06 2017 +1100
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ewyk
commit 4dc15032ba
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 23:26:59 2017 +1100
work in progress
commit 5d18c654b8
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 22:05:03 2017 +1100
work in progress
commit d52a09a6cd
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 18:03:16 2017 +1100
work in progress
commit c097db32e7
Author: Greg Wilkins <gregw@webtide.com>
Date: Thu Mar 16 15:59:29 2017 +1100
Experiement enhancement to EatWhatYouKill ExecutionStrategy
Use the existence of a pending producer threads to determine if low resources or not.
2017-04-01 09:18:37 +11:00
Greg Wilkins
823cbe1cd4
Issue #1418 simplification after review
2017-03-31 11:53:37 +11:00
WalkerWatch
927bf97546
Resolves #1437 - Updated requestlog ini-template
...
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-03-30 18:16:28 -04:00
Greg Wilkins
50c5e7c93e
Issue #1418 updates after review
2017-03-31 08:43:15 +11:00
Greg Wilkins
7a6f2860e1
Issue #1418 updates after review
2017-03-30 21:59:23 +11:00
Greg Wilkins
ea39cbef57
Issue #1418 update after review
2017-03-30 19:29:26 +11: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
Greg Wilkins
18f17ac102
Fixes #1436
2017-03-30 14:57:18 +11:00
Greg Wilkins
2fafa1de0f
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-30 14:13:07 +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
Joakim Erdfelt
a8ff18db9d
Issue #1334 - throwing a ServletException if unable to commit the response ( #1336 )
...
* Issue #1334 - throwing a ServletException if unable to commit the response
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Issue #1334 - using addSuppressed(ex) instead of MultiException
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-03-30 11:50:55 +11:00
Greg Wilkins
70d33eab5d
Fixes #1435
2017-03-30 11:22:06 +11:00
Jan Bartel
9732e3a985
Merge pull request #1238 from raimohanska/jetty-9.4.x
...
Fix NPE in ContextHandler.isShutdown
2017-03-30 09:38:25 +11:00
WalkerWatch
071cf19f2b
Resolves #1426 - Updating JavaDoc.
...
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-03-29 11:54:33 -04:00
Simone Bordet
a9b4e2422a
Fixes #1434 - Improve properties in jetty-gzip.xml.
...
Added properties for syncFlush, includedMethodList and excludedMethodList.
2017-03-29 16:51:29 +02:00
Simone Bordet
7deb281aa0
Code cleanup and JavaDocs fixes.
2017-03-29 16:04:43 +02:00
Greg Wilkins
87a7ff550b
Fixes #1201
2017-03-25 14:24:05 +11:00
Greg Wilkins
00b42ca5ee
Issue #1418
...
Improved async handling to avoid race of setWriteListener->handle with async read callback.
The async read callback now calls into the HttpChannelState with a new onReadPossible() method.
A more detailed state machine is now kept for async reads, with and additional state for using
the handler thread to produce more content.
2017-03-23 15:58:16 +11:00
Jan Bartel
08ee1b62d4
Issue #1386
...
Finally worked out what was wrong with the test.
2017-03-23 15:20:47 +11:00
Jan Bartel
8059b8553b
Issue #1386
...
More changes to ensure test dirs are clean and errors reported
2017-03-23 14:03:06 +11:00
Jan Bartel
b242f1e902
Issue #1386
...
Change tests to ensure test dir clean
2017-03-23 12:10:37 +11:00
Greg Wilkins
12dc169b5b
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-23 09:31:19 +11:00
Greg Wilkins
ee59b42321
Fixes #1417 ClassLoaderDump
2017-03-23 09:26:36 +11:00
Joakim Erdfelt
b8ddef08d6
Merge remote-tracking branch 'origin/release-9.4.3' into jetty-9.4.x
2017-03-22 09:31:44 -07:00
Jan Bartel
f4504ffded
Issue #1386
2017-03-22 17:36:29 +11:00
Joakim Erdfelt
1360b863dc
Updating to version 9.4.4-SNAPSHOT
2017-03-17 10:53:54 -07:00
Joakim Erdfelt
95e94b49d8
Updating to version 9.4.3.v20170317
2017-03-17 09:54:58 -07: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
67ec4b0432
make trailer test more robust
2017-03-17 14:59:19 +11:00
Greg Wilkins
78f471260d
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-03-17 09:25:44 +11:00
Greg Wilkins
44f9766ddc
Issue #1401 recycle write listener
2017-03-17 09:22:27 +11:00
Joakim Erdfelt
ccf72d6752
Issue #1403 - moving CookieCompliance to jetty-http module
2017-03-16 11:28:43 -07:00
Joakim Erdfelt
f753b5468c
Issue #1405 - Cookie.name cannot be blank
2017-03-16 11:26:18 -07:00
Joakim Erdfelt
ed9f7ddd4c
Issue #1402 - Moving RFC asserts to jetty-http Syntax class
2017-03-16 11:25:21 -07:00
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
523fab30bd
Updating to version 9.4.3-SNAPSHOT
2017-02-20 08:13:31 -07:00
Joakim Erdfelt
4a674b9cc9
Updating to version 9.4.2.v20170220
2017-02-20 06:22:45 -07: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
Joakim Erdfelt
2bd1029d1b
Fixing InsufficientBytes test cases
...
+ Because of issues #1045 and #1185 insufficient bytes on a response results in a closed connection
2017-02-03 10:29:27 -07:00
Joakim Erdfelt
472a40806e
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-03 06:25:23 -07:00
Joakim Erdfelt
43c203b606
Bad tests take too long
2017-02-02 19:28:16 -07:00
Joakim Erdfelt
5e57b9562f
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2017-02-02 16:14:10 -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
80386028c1
Trailers for generated requests
2017-02-02 13:27:12 +11:00
Simone Bordet
7923032582
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-02-02 00:24:51 +01:00
Greg Wilkins
461c6082ae
Issue #1296 - Introduce HTTP parser "content complete" event.
2017-02-01 23:54:36 +01:00
Jan Bartel
0391c52e4c
Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150
2017-02-01 17:40:33 +11:00
Jan Bartel
a2e1dd3a30
Issue #1284
...
Ensured session expired in db but resident in memory is not expired.
2017-02-01 14:23:28 +11:00
Simone Bordet
7e7459d825
Fixes #612 - Support HTTP Trailer.
...
Implemented support in the generic HttpChannel and Request classes.
Linked HTTP/1.1 and HTTP/2 trailers to call HttpChannel, so that trailers
are now available in Servlet APIs by casting to Jetty's Request class.
The semantic is that trailers will only be available _after_ reading
the request content.
2017-01-30 15:17:59 +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
d0c33ebe8b
Updating to version 9.4.2-SNAPSHOT
2017-01-20 10:49:06 -06:00
Jesse McConnell
556ecbcdcf
Updating to version 9.4.1.v20170120
2017-01-20 09:47:53 -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
389ef2a2a3
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-20 15:57:33 +11: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
0c8273f2ca
Happy New Year 2017.
2017-01-19 19:26:41 +01: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
a7938910b7
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-01-18 18:54:47 +01: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
6222ccba14
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-01-18 17:28:18 +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
Jan Bartel
76df903feb
Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150
2017-01-18 15:25:21 +11:00
Greg Wilkins
c6e910cf12
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-18 14:39:20 +11: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
fb8ecf9970
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-17 15:27:22 +11:00
Greg Wilkins
76e9849fcd
Issue #1262 Avoid reflection in isMappedBuffer
2017-01-17 15:23:26 +11:00
Jan Bartel
ec193693a2
Issue #1150
2017-01-13 22:30:44 +11:00
Simone Bordet
e539d0b1fd
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-01-12 17:52:45 +01: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
fd33ea26f3
Fix #1254
2017-01-12 12:18:33 +11:00
Greg Wilkins
df0f645aa4
fix #1248
2017-01-12 11:29:56 +11:00
Greg Wilkins
0d45c412e9
Fixed #1239
2017-01-12 10:51:31 +11:00
Greg Wilkins
73609ff7a6
removed println
2017-01-12 10:43:02 +11:00
Greg Wilkins
1d0d601694
Issue #1242 Added a quiet exception
2017-01-12 09:25:54 +11:00
Juha Paananen
46b7037ca8
add test for isShutdown
...
Signed-off-by: Juha Paananen <juha.paananen@gmail.com>
2017-01-11 14:44:35 +02:00
Juha Paananen
59625b1332
simplify
...
Signed-off-by: Juha Paananen <juha.paananen@gmail.com>
2017-01-11 14:44:26 +02:00
Juha Paananen
ccb62f5137
fix comment
...
Signed-off-by: Juha Paananen <juha.paananen@gmail.com>
2017-01-11 14:44:17 +02:00
Juha Paananen
44658812c0
initialize _availability variable to prevent NPE in isShutdown
...
Signed-off-by: Juha Paananen <juha.paananen@gmail.com>
2017-01-11 14:36:02 +02:00
Greg Wilkins
611e79945c
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-11 18:10:50 +11: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
David Barri
ced72c52bd
Fix broken XML in jetty-gzip.xml ( #1227 )
...
thanks
2017-01-10 16:05:05 +11:00