1
0
mirror of https://github.com/jetty/jetty.project.git synced 2025-02-22 06:55:53 +00:00

3772 Commits

Author SHA1 Message Date
Greg Wilkins
155e3e9bcd Issue - more cookie fixes 2017-05-16 06:05:55 +02:00
Greg Wilkins
5141085fed Issue - 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 - more cookie leniency fixes 2017-05-15 21:01:15 +02:00
Joakim Erdfelt
c5a0c5e761 Issue - more leniency testcase
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2017-05-15 11:04:09 -07:00
Greg Wilkins
04fe477e79 Issue Fixed cookie tests 2017-05-13 16:21:06 +02:00
Greg Wilkins
bdeea10a6f Issue Fixed some tests. @Ignored for now 2017-05-13 09:12:11 +02:00
Joakim Erdfelt
dea2c340a4 Issue - 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 quotes in cookies 2017-05-12 10:38:37 +02:00
WalkerWatch
e091701bcd Reviewing modules for 2017-05-09 13:38:14 -04:00
Greg Wilkins
b0edf18ad9 Issues
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 2017-04-27 12:47:51 +02:00
Greg Wilkins
5e5d650b05 Issue 2017-04-26 16:02:18 +02:00
Greg Wilkins
fe173454e1 Fixed 2017-04-26 15:38:18 +02:00
Greg Wilkins
29a26c76a2 Fixes 2017-04-21 13:25:18 +10:00
Greg Wilkins
6bb8f793a3 Fixed 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 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 - some code cleanup 2017-04-14 13:03:17 -07:00
Joakim Erdfelt
e598f5da14 Issue - more tests for bad ContextHandler.logger creation 2017-04-14 12:53:25 -07:00
Joakim Erdfelt
ccfe579a55 Issue - 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 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 2017-04-12 14:54:18 +10:00
Greg Wilkins
c4f2be4cfa Issue 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 - 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 - 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 2017-04-06 15:01:17 +10:00
Simone Bordet
c285d6f8bb Fixes - 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
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 25eeb32181549a39ef338b8858c20a534da91552
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Apr 1 09:08:49 2017 +1100

    renamed variables

commit 4f370d84cab21db5d0489dcd622954853b992d70
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 8159c508f057573a20e803579e1d237083dad51c
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 daf61cd2942abe93e6f3d728e5220691d08a9372
Author: Denis Nedelyaev <denvned@gmail.com>
Date:   Thu Mar 30 04:15:32 2017 +0300

    Fix memory leak in GzipHandler ()

    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 5805a92d0ec968ab6f70d5acf3668954f14ddaba
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 cfabbd23413aaeb6158262efb4b45eabbe51daa5
Author: Greg Wilkins <gregw@webtide.com>
Date:   Thu Mar 30 16:04:57 2017 +1100

    minor cleanups

commit c7aa64aa1080cccabbffbc12cdd33b5ac7b867f6
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 bacf51a83d8e3b41c977ba3a713223e53bd3ce07
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 11ba4bc8497e746a8a62f1768c557f5606e85f2c
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 69003d3dd94b19197681d231729277fad33922a2
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 f89b08d08a6e67ce1e321db6fc58904c4e89969c
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 7a87c8ec9df9fea1884024624a5b14235889679f
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 1a92015471dd0e0334f5968c91a540c62a3d9638
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Mar 21 09:23:53 2017 +1100

    better spruious wakeup handling and other simplifications

commit c01a910b69c145568320f3f8ee138880fc26d8d1
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 0b2b9ea187b444ab9298069d7d46a989d8973d06
Author: Greg Wilkins <gregw@webtide.com>
Date:   Fri Mar 17 14:52:49 2017 +1100

    cleanup

commit c1d92ebde6780d570a9a23cd5a09406691c56389
Author: Greg Wilkins <gregw@webtide.com>
Date:   Fri Mar 17 13:41:45 2017 +1100

    Fixed push

commit d2d6bc3e65329d25fbd9331df58e8bfaccb027bc
Author: Greg Wilkins <gregw@webtide.com>
Date:   Fri Mar 17 12:18:03 2017 +1100

    minor cleanups

commit c1a159b7a9f5e4b1eaea5c4d274427724307523c
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 01349ac93573d46f5c5bb31a590fa2b7a846cff0
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 4dc15032ba81c38670dfc42a34603caa6080c21c
Author: Greg Wilkins <gregw@webtide.com>
Date:   Thu Mar 16 23:26:59 2017 +1100

    work in progress

commit 5d18c654b8a834524cb04549bfa0fcf4d905805e
Author: Greg Wilkins <gregw@webtide.com>
Date:   Thu Mar 16 22:05:03 2017 +1100

    work in progress

commit d52a09a6cdb973f10d03364cbd37ed50d94ce922
Author: Greg Wilkins <gregw@webtide.com>
Date:   Thu Mar 16 18:03:16 2017 +1100

    work in progress

commit c097db32e7855cbe36fd269596716c4d44930cd9
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 simplification after review 2017-03-31 11:53:37 +11:00
WalkerWatch
927bf97546 Resolves - Updated requestlog ini-template
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-03-30 18:16:28 -04:00
Greg Wilkins
50c5e7c93e Issue updates after review 2017-03-31 08:43:15 +11:00
Greg Wilkins
7a6f2860e1 Issue updates after review 2017-03-30 21:59:23 +11:00
Greg Wilkins
ea39cbef57 Issue update after review 2017-03-30 19:29:26 +11:00
Denis Nedelyaev
daf61cd294 Fix memory leak in GzipHandler ()
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 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 ()
* Issue  - Removing non-standard (Microsoft only) %uXXXX support

* Issue  - 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  - 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  and Issue 
2017-03-30 14:00:39 +11:00
Joakim Erdfelt
a8ff18db9d Issue - throwing a ServletException if unable to commit the response ()
* Issue  - throwing a ServletException if unable to commit the response

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* Issue  - 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 2017-03-30 11:22:06 +11:00