Commit Graph

14274 Commits

Author SHA1 Message Date
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 dc759db065 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-30 17:12:10 +11:00
Greg Wilkins 02d4e5d1f6 More time to run tests 2017-03-30 17:11:28 +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
Greg Wilkins 1a0b2dfdb5 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-30 13:47:47 +11:00
jhaeyaert be1ddf61df feat(mimetypes): Added mimetypes for font files .eot, .woff, .woff2 (#1420)
* feat(mimetypes): Added mimetypes for font files .eot, .woff, .woff2

* feat(mimetypes): Added mimetypes for font files .eot, .woff, .woff2
2017-03-30 12:37:57 +11:00
John Gardiner Myers 9496cef9b2 Allow for easier subclassing of the HttpChannelOverHTTP2. (#1421)
Signed-off-by: John Gardiner Myers <jgmyers@proofpoint.com>
2017-03-30 12:17:52 +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 781c5750d9 Test for #1435 2017-03-30 11:31:53 +11:00
Greg Wilkins 70d33eab5d Fixes #1435 2017-03-30 11:22:06 +11:00
olivier lamy 9a8b753343 change to jetty-bom
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-03-30 11:07:24 +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
Jan Bartel 89e51aadbe Issue #1433 2017-03-29 12:15:06 +11:00
olivier lamy e036e6a7b5 #1348 add BOM artifact
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-03-28 16:53:26 +11:00
Greg Wilkins 87a7ff550b Fixes #1201 2017-03-25 14:24:05 +11:00
Jan Bartel 61b616c043 Issue #1423 2017-03-24 12:10:04 +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
Jan Bartel a3c52d7a3f Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-23 11:29:53 +11:00
Jan Bartel 976ffb7ecd Issue #877
And also #1117
2017-03-23 11:24:22 +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
Joakim Erdfelt 78450cb843 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-22 09:23:25 -07:00
Jan Bartel f4504ffded Issue #1386 2017-03-22 17:36:29 +11:00
Joakim Erdfelt a29b908361 Merge pull request #1412 from dreis2211/short-circuit
Issue #1411 - Use short-circuit operator in websocket Frame
2017-03-19 13:08:21 -07:00
dreis2211 83fbd5bf0d Issue #1411 - Use short-circuit operator in websocket Frame
Signed-off-by: dreis2211 <christoph.dreis@freenet.de>
2017-03-19 19:31:36 +01: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
Joakim Erdfelt 5ecb8b8526 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-17 09:04:37 -07:00
Joakim Erdfelt 97f488dea4 Issue #1383 - fixing javadoc w/script issue in java 8u121+ 2017-03-17 09:03:38 -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 08f351b0fd Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-03-16 11:55:29 -07:00
Joakim Erdfelt 398e5b3462 Minor verbiage change in exception messages 2017-03-16 11:52:48 -07: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