Commit Graph

14258 Commits

Author SHA1 Message Date
Jan Bartel daafc8fed1 Issue #877
Add test case
2017-04-12 11:08:07 +10:00
Greg Wilkins c4f2be4cfa Issue #1454 convenience methods 2017-04-11 10:09:33 +10:00
Jan Bartel 582b974e8e Merge pull request #1451 from mbooth101/ebz512807
Make the requirement on "osgi.serviceloader.registrar" optional
2017-04-10 16:40:33 +10:00
WalkerWatch eeb1ad5b7f Updated documentation. Resolves #1447
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-04-06 13:40:40 -04: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
WalkerWatch 3b979ff554 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2017-04-05 16:17:12 -04:00
WalkerWatch fce8ec33fc Resolves #1453
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-04-05 16:16:46 -04:00
Joakim Erdfelt 59bd12edcf Disabling test that modifies java.net.URL class 2017-04-05 10:48:18 -07:00
Joakim Erdfelt 71892ffa3a Test fix 2017-04-05 09:08:02 -07:00
Joakim Erdfelt 3d17de3e1f Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2017-04-05 08:43:54 -07:00
Joakim Erdfelt be56ecc523 Issue #1444 - Deprecate Continuation 2017-04-05 08:42:58 -07:00
Simone Bordet e7ac447d63 Fixes #1452 - Add tests for [want|need]ClientAuth. 2017-04-05 15:27:57 +02:00
Simone Bordet 7fc3dac5f3 Removed truststore.jks, not needed. 2017-04-05 15:27:57 +02:00
Mat Booth 1b9ec463a3 Make the requirement on "osgi.serviceloader.registrar" optional
Follow-up to acf3608.

This better allows Eclipse to continue to make use of jetty-http
without requiring the presence of Apache Aries bundles.

Signed-off-by: Mat Booth <mat.booth@redhat.com>
2017-04-05 11:33:01 +01:00
WalkerWatch f90976f635 Version reminder and misc cleanup.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-04-04 16:25:03 -04:00
Joakim Erdfelt 9cdf8b0468 Issue #1449 - Removing unused / broken __jvmLib reference 2017-04-04 09:18:37 -07:00
Joakim Erdfelt f53776628f Issue #1448 - Reduce unncessary URL creation 2017-04-04 09:08:44 -07: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
Simone Bordet 1d9f9e86c0 Added getter to expose nested callback to subclasses. 2017-04-03 22:25:50 +02:00
Simone Bordet 7547fc4b29 Fixed toConnectionString() to avoid NPE. 2017-04-03 22:25:50 +02:00
WalkerWatch d841dba997 Documentation updates for #1437
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-04-03 11:04:11 -04:00
olivier lamy a9fbfc0868 fix issues from pr review #1348
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-04-01 19:43:48 +11: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
Joakim Erdfelt d1c946d192 Merge branch 'fvanderveen-jetty-9.3.x' into jetty-9.3.x 2017-03-31 11:20:20 -07:00
Joakim Erdfelt e8f8e6a279 Issue #1439 - Cleanup of PR #1438 to enable UNC support
+ Uses Path.toRealPath() to satisfy requirements on both
  Windows and Linux respectively
2017-03-31 11:18:30 -07: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
Fabian van der Veen 9a00c038ff Make PathResource UNC compatible again
The newly added checkAliasPath used the File constructor on a uri
resulting from Path's toUri, which caused an IllegalArgumentException due to
the uri having an authority component. (File's toURI and Path's toUri
differ slightly wrt. UNC paths; file:////unc vs file://unc.)

Signed-off-by: Fabian van der Veen <djyhnzo@gmail.com>
2017-03-30 16:03:11 +02: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 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