Olivier Lamy
9b7afd8a03
Happy new year!! ( #3232 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2019-01-01 11:52:16 +10:00
Greg Wilkins
8f06fa8083
Issue #3207
...
updates after review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-12-20 08:53:16 +11:00
Greg Wilkins
225760c2de
Issue #3207
...
Fix #3207 by providing async compliant print methods
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-12-19 13:57:58 +11:00
Greg Wilkins
503bd71d4c
Issue #3202
...
Handle async cross context session completion
2018-12-18 16:00:46 +11:00
Greg Wilkins
06bbab50f9
Issue #3202
...
Handle async cross context session completion
2018-12-18 14:07:16 +11:00
Jan Bartel
34b6ecec6c
Issue #3202 Ensure sessions created during async are cleaned up.
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-12-18 09:32:12 +11:00
Greg Wilkins
fb06b82172
Issue #3030 ignore identity content encoding during parameter extraction
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-12-13 13:42:08 +11:00
Bjørn Christian Seime
71c0e47446
Change access of LowResourceCheck to public
...
This interface is currently package-private while it's in the
signature of several public methods (e.g. addLowResourceCheck, getLowResourceChecks)
Signed-off-by: Bjørn Christian Seime <bjorncs@yahoo-inc.com>
2018-12-10 13:39:29 +01:00
Greg Wilkins
132aef4420
Issue #113
...
default to extended format
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-29 12:10:18 +01:00
Greg Wilkins
7742650fa5
Issue #113
...
Fixed property names
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-29 10:55:00 +01:00
Greg Wilkins
fc39e96653
Issue #113
...
Updated customrequestlog module defaults for timezone
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-29 10:34:42 +01:00
Greg Wilkins
e7d4f55891
Issue #113
...
Use CustomRequestLog in examples.
Convenience constructors
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-29 10:13:12 +01:00
Greg Wilkins
bda9307028
Merge pull request #3144 from lachlan-roberts/jetty-9.4.x
...
Issue #113 - CustomRequestLog
2018-11-29 09:29:43 +01:00
Lachlan Roberts
472d7a1529
Issue #113 - latency test failures fixed
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-28 22:28:40 +01:00
Lachlan Roberts
c2749ff5e3
Issue #113 - fixed documentation inconsistency
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-28 16:22:37 +01:00
Lachlan Roberts
e58fd93742
Issue #113 - StacklessLogging for NcsaRequestLogTest expected exceptions
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-28 16:05:03 +01:00
Lachlan Roberts
982895719c
Issue #113 - changes from review and bug fixes
...
%t now takes in locale and timezone in the format string argument
instead of getting it from the setters on the CustomRequestLog class
fixed issue with multiline format strings
requestLog writers are now managed objects
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-28 14:58:28 +01:00
Lachlan Roberts
63aa9ce97d
Issue #113 - problems with latency tests and request handler name
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-28 10:52:17 +01:00
Lachlan Roberts
8aa3655c55
Issue #113 - fix to failing tests
...
removed tests for %B and %b which have been removed in favor of %O
adjusted the NcsaRequestLogTest to only test ExtendedNCSA format
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-28 09:26:55 +01:00
Lachlan Roberts
b97c80b3c1
Issue #113 - testing of logConnectionStatus implemented
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-27 14:26:31 +01:00
Lachlan Roberts
b35df419bb
Issue #113 - reformat, javadoc update and changes after review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-27 14:26:12 +01:00
Lachlan Roberts
2cd579353c
Issue #113 - fix javadoc errors
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-26 14:12:16 +01:00
Lachlan Roberts
7c0ea57923
Issue #113 - CustomRequestLog terminology refactor
...
replaced terminology for addresses and ports to use
client and server referring to the logical connection and
local and remote referring to the physical connection to the first hop
finished implementing tests in CustomRequestLogTest otherwise
disabled tests which will be verified manually instead
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-24 10:28:57 +01:00
Greg Wilkins
97cb063a57
Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x
2018-11-23 17:01:39 +01:00
Greg Wilkins
92317a7bb4
Issue #3132 improve dump readability
...
fixed tests
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-23 16:54:36 +01:00
Jan Bartel
4e672c6b27
Issue #2646 - Better handle concurrent calls to change session id and invalidate within a context ( #2670 )
...
* Issue #2646 handle concurrent invalidate/changeid calls
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-11-23 16:15:27 +01:00
Lachlan Roberts
771f120508
Issue #113 - customrequestlog module
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-22 20:01:19 +01:00
Lachlan Roberts
112d57f474
Issue #113 - CustomRequestLog
...
added missing copyright header in some new files
added CustomRequestLogTest in jetty-servlet to test things like
logFilename and logRequestHandler
the log strings produced do no longer contain a trailing newline
implemented more tests in CustomRequestLogTest
and finished implementing some of the logging in CustomRequestLog
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-22 10:32:22 +01:00
Greg Wilkins
8c4ee8496f
Jetty 9.4.x 3038 ssl connection leak ( #3121 )
...
Issue #3038 - SSL connection leak.
Fixed SSL spin caused when fill had NEED_WRAP, but a flush/wrap
produced 0 bytes and stayed in NEED_WRAP
Removed check of isInputShutdown prior to filling that allowed EOF to
overtake data already read.
Fix for leak by shutting down output in HttpConnection if
filled -1 and the HttpChannelState was no longer processing
current request.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-20 13:53:42 +01:00
Lachlan Roberts
6040bd3497
Issue #113 - AbstractNCSARequestLog no longer abstract and test cleanups
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-19 15:05:47 +01:00
Lachlan Roberts
cc1ae54feb
Issue #113 - Parameterized RequestLogTest to test NCSA format string
...
renamed to NcsaRequestLogTest as is only testing NCSA log formats
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-19 14:53:48 +01:00
Lachlan Roberts
e4d30b367c
Issue #113 - Added Request Log Writers
...
Introduced the RequestLog.Writer where a RequestLog takes a writer
which manages what to do with the log strings produced by the RequestLog
deprecated the NCSA and SLF4J RequestLogs in favor of CustomRequestLog
Implemented more format codes in CustomRequestLog
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-19 13:58:53 +01:00
Greg Wilkins
7dd3cfffe6
Issue #113 channel persistance and completed getters
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-15 14:36:40 +01:00
Joakim Erdfelt
29fd18e046
Updating to version 9.4.15-SNAPSHOT
2018-11-14 16:42:40 -06:00
Joakim Erdfelt
c4550056e7
Updating to version 9.4.14.v20181114
2018-11-14 15:19:10 -06:00
Lachlan Roberts
7ca6577ac6
Issue 113 - CustomRequestLog
...
fixed parsing issues for the format string by parsing left to right
and reversing the list of parsed tokens
reduced to parsing to single regex expression
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-13 14:51:06 +01:00
Joakim Erdfelt
a903017f5f
Updating to version 9.4.14-SNAPSHOT
2018-11-11 21:06:50 -06:00
Joakim Erdfelt
49123a3313
Updating to version 9.4.13.v20181111
2018-11-11 20:02:42 -06:00
Simone Bordet
422f4d9341
Issue #3085 - Restore Dump methods for backwards compatibility reasons.
...
Removed dead code.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-09 18:53:50 +01:00
Simone Bordet
f814354bb5
Issue #3085 - Restore Dump methods for backwards compatibility reasons.
...
Restored removed methods to maintain backwards compatibility.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-11-09 17:47:46 +01:00
Lachlan Roberts
1e50b371fe
Issue 113 - CustomRequestLog
...
javadoc cleanup
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-08 18:39:29 +01:00
Lachlan Roberts
0d8369c5c1
Issue 113 - CustomRequestLog
...
added test methods for all format codes
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-08 18:07:53 +01:00
Lachlan Roberts
3ce7016a35
Issue 113 - CustomRequestLog
...
added methods for each of the format codes described in javadoc
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-08 11:17:59 +01:00
Greg Wilkins
cf2de4411c
Issue #3041 separate CookieCompliance for parsing and generation ( #3048 )
...
* Issue #3041 separate CookieCompliance for parsing and generation
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* improved documentation
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* use only getters
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Rename setters to avoid setSetXxxx
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-11-07 10:03:18 +01:00
Lachlan Roberts
22e7679dd6
Issue 113 - CustomRequestLog
...
changed the log type to include the response
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-06 12:21:30 +01:00
Lachlan Roberts
4be4b4e7b4
Issue #113 - CustomRequestLog
...
update logHandle directly rather than creating list of tokens
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-06 12:16:22 +01:00
Lachlan Roberts
012d412ccb
Issue #113 - CustomRequestLog
...
javadoc detailing the custom log formats
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-06 11:48:08 +01:00
Lachlan Roberts
557f40f41f
Issue #113 - CustomRequestLog
...
created new CustomRequestLog class
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-11-06 11:46:26 +01:00
Jan Bartel
871f73cdf6
Jetty 9.4.x 2932 switchable classloader for session attribute values ( #2964 )
2018-11-06 10:03:48 +01:00
Greg Wilkins
3995cd2ec0
Issue #3023 redirect to / when pathInfoOnly ( #3047 )
...
Issue #3023 redirect to / when pathInfoOnly (#3047 )
2018-11-02 16:38:43 +01:00