Commit Graph

776 Commits

Author SHA1 Message Date
Greg Wilkins a7891b2f52 Issue #1841 reduce ServletHolder contention 2017-09-26 16:40:49 +10:00
Greg Wilkins 86c6caf608 Issue #1841 reduce ServletHolder contention 2017-09-23 08:47:45 +10:00
Greg Wilkins c843b809f0 Fixed #1737 DefaultServlet wrong welcome dispatcher using non-root URL path
If operating in pathInfoOnly mode, prepend the serlvet path to the welcome path
2017-08-16 09:54:52 +10:00
Joakim Erdfelt 12e61bf973 Making tests more reliable on lesser FileSystems 2017-08-08 09:14:11 -07:00
Greg Wilkins c9a1395f08 Issue #1618 Async dispatch encoded passed URI 2017-08-08 09:13:43 -07:00
Joakim Erdfelt 61904052f4 Issue #1618 - new testcase for startAsync(req,resp).dispatch() behavior with regards to URL/URI 2017-08-08 09:13:41 -07:00
Joakim Erdfelt 8c96fdde4c Issue #1618 - updating testcase expectations for getPathInfo to match javadoc 2017-08-08 09:13:41 -07:00
Joakim Erdfelt 4556680ddb Issue #1618 - adding testcase to verify AsyncContext dispatch encoding 2017-08-08 09:13:40 -07:00
Joakim Erdfelt 11f2cc5294 Updating test to use HttpTester 2017-08-08 09:13:39 -07:00
Greg Wilkins e7ef74dd4f removed deprecated test method usage 2017-08-08 09:10:25 -07:00
Greg Wilkins 58a4d9e115 Fixes #1592 bad compressed etag comparison 2017-08-08 09:10:25 -07: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
Greg Wilkins 3495525fe1 Isssue #1530 Do not check for broken final content, only for no last chunk 2017-05-03 20:26:02 +02:00
Greg Wilkins 5493c9e596 Refactor ServletHandler to add getMappedServlet method (#1519) 2017-05-01 16:38:55 +02:00
Greg Wilkins 5e5d650b05 Issue #1500 2017-04-26 16:02:18 +02:00
Joakim Erdfelt e5b5a3c4ee Issue #1500 - adding testcase 2017-04-24 12:42:57 -07:00
Greg Wilkins 63ff4af6b8 improved unit test 2017-04-21 15:21:04 +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
Greg Wilkins f5631a9f1b Fix #1486 2017-04-20 09:38:50 +10:00
Greg Wilkins c4f2be4cfa Issue #1454 convenience methods 2017-04-11 10:09:33 +10:00
Greg Wilkins 781c5750d9 Test for #1435 2017-03-30 11:31:53 +11: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 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
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
Jan Bartel 1ecaac9383 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-01-19 13:53:51 +11:00
Jan Bartel edfd05dd9c Issue #1268
Add unit tests, tweak log and error messages, fix bug.
2017-01-19 13:49:50 +11:00
Greg Wilkins 2a3c367f55 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-01-18 15:21:05 +11:00
Jan Bartel 69afe33b82 Issue #1268 2017-01-18 15:16:52 +11: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
Greg Wilkins a7048a325a Issue #1077
Removed concrete handle from AbstractHandler
Added AbstractHandler.ErrorDispatchHandler
cleanup context listeners
Removed vanity inlining of ScopeHandler methods

Squashed commit of the following:

commit 0f3619ac1101707de476ad9b7f7394e8de18d95f
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Nov 8 10:59:55 2016 +1100

    Issue #1077

    Removed concrete handle from AbstractHandler
    Added AbstractHandler.ErrorDispatchHandler

commit 0876fee0334b9f43297f28fc4b855f447b7ee73f
Merge: 5eabad2 7716ada
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Nov 8 08:48:53 2016 +1100

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1077

commit 5eabad29a5c4d893e204cb403a1d276ea3b15281
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 21:15:40 2016 +1100

    Issue #1077 cleanup context listeners

commit 9edf91a386aa20a3c0af86a634b4b3dbbc8e1092
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 18:08:01 2016 +1100

    Issue #1077 Removed vanity inlining of ScopeHandler methods
2016-11-08 15:58:15 +11:00
Greg Wilkins 6781a949b1 Issue#1066 Simplify HttpGeneration
Reduce the transformations needed on header fields, so they can be more often
set directly and no need to split and recombine.

The Content-Length field is added IF it is needed for framing or if it was explicitly set

The Transfer-Encoding: chunk field is used only as a hint that there is content.

Connection fields are used as is, but are checked for close and keep-alive
2016-11-03 16:55:33 +11:00
Jan Bartel dfdd324bc8 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-03 10:56:35 +11:00
Jan Bartel f3f31d163c Issue #1050
Add check for duplicate FilterHolder,ServletHolder objects
2016-11-03 10:55:02 +11:00
Jan Bartel 1a6dd7615d Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-02 17:33:35 +11:00
Jan Bartel 8461cc07b3 Issue #1050 2016-11-02 17:32:55 +11:00
Simone Bordet 69aa9d77ee Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-28 12:15:14 +02: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
Denis Bardadym 8eb56edc8a Fix typo in DefaultServlet (#988)
Fixes #952

Signed-off-by: Denis Bardadym <bardadymchik@gmail.com>
2016-10-14 14:18:16 +11:00
Jan Bartel 8e4c595b52 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-13 15:26:48 +11:00
Jan Bartel 5a85c33e6e Issue #1000
Refine warning message.
2016-10-13 15:25:45 +11:00
Jan Bartel 457c66c58d Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-13 15:21:17 +11:00
Jan Bartel 37ec4160bb Issue #1000 2016-10-13 15:06:47 +11:00
Greg Wilkins 98bb582d45 Jetty 9.4.x http interceptor #382
* Issue #382 Request compression

Added identity HttpInput.Interceptor
Moved GZIPContentDecoder to jetty-http
Reworking interceptor and GZIPContentDecoder to avoid data copies
Completed and tested GZIPContentDecoder
Implemented GzipHttpInputInterceptor
updated GzipHandler.java
updated gzip module
use common GZIP decoder
Gzip Bomb
handle read() after empty interception
2016-10-05 13:49:20 +11:00
Simone Bordet 716c595cdf Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-26 12:20:22 +02:00