Commit Graph

12717 Commits

Author SHA1 Message Date
Joakim Erdfelt 708104ccaf Issue #1098 adding unit tests for bug report. 2016-11-14 14:08:11 -07:00
nevafuse 236571eaee only periodically save recently accessed sessions
Signed-off-by: nevafuse <nevafuse@gmail.com>
2016-11-12 22:12:56 -05:00
nevafuse e05faf77c8 keep restored file if saving periodically
Signed-off-by: nevafuse <nevafuse@gmail.com>
2016-11-12 22:11:17 -05:00
Joakim Erdfelt 2295bd59e3 Issue #1090 - Use WebSocketUpgradeFilter from WEB-INF/web.xml if present 2016-11-10 14:26:04 -07:00
Greg Wilkins 3b36b13d31 Issue #1062 Ssl Nonblocking read callback 2016-11-10 09:57:15 +11:00
Jan Bartel c499ec68f7 Issue #1020
Add test for immortal session for mongo
2016-11-09 10:42:44 +11:00
Jan Bartel 74d1818cb3 Merge pull request #1080 from telomir/fix-for-mongodb-scavenging-immortal-sessions
Fix for MongoSessionIdManager's scavenging of immortal sessions
2016-11-09 10:29:56 +11:00
Simone Bordet f82aa03300 Fixes #1078 - DigestAuthentication should use realm from server, even if unknown in advance. 2016-11-07 19:25:06 +01:00
Simone Bordet 42e865227d Fixes #1081 - DigestAuthenticator does not check the realm sent by the client. 2016-11-07 19:25:06 +01:00
Simone Bordet 6ae72e6f7d Code cleanups. 2016-11-07 19:25:06 +01:00
Joakim Erdfelt 40cf6b0c80 Updating KEYS.txt with email address 2016-11-07 11:19:05 -07:00
Joakim Erdfelt de18e4540b Issue #1051 - RolloverFileOutputStream doesn't handle DST properly 2016-11-07 09:55:09 -07:00
Tilo Zemke 23f11017d3 Fix for MongoSessionIdManager's scavenging of immortal sessions
Signed-off-by: Tilo Zemke <telomir@gmail.com>
2016-11-07 17:54:04 +01:00
Jesse McConnell 9a6f68be78 Merge branch 'release-9.3.14' into jetty-9.3.x 2016-11-07 10:45:04 -06:00
Jesse McConnell 2b88b0bc80 KEYS.txt file of Jetty committers
fingerprints of the jetty committers that generally released bits for the open source jetty project
2016-11-07 10:18:46 -06:00
Simone Bordet 998c5729ec Fixes #1072 - InetAccessHandler needs InetAddress & Path based restrictions like IPAccessHandler did.
Introduced isAllowed(InetAddress, HttpServletRequest) so that it
would be possible to make access decisions also based on request
information such as context, path, headers, etc.
2016-11-07 16:20:15 +01:00
Simone Bordet fe1aed24c0 Code cleanup. 2016-11-07 16:15:11 +01:00
Joakim Erdfelt bc67969135 Fixes #1054 - NPE in Jetty WebSocketListener on PING frame with empty payload 2016-11-04 10:24:06 -07:00
Simone Bordet 846d560b44 Fixes #905 - Jetty terminates SSL connections too early with Connection: close.
Requests with "Connection: close" are now closed only after the
request/response exchange has been terminated.
2016-11-04 12:09:44 +01:00
Simone Bordet d18b900b75 Fixes #1069 - Host header should be sent with HTTP/1.0. 2016-11-04 09:53:22 +01:00
Simone Bordet fba901d156 Issue #1064 - HttpClient sets chunked transfer-encoding.
Fixed test assertion.
2016-11-03 14:21:40 +01:00
Simone Bordet 7e903cfc6b Fixes #1064 - HttpClient sets chunked transfer-encoding.
Replaced the hint that there is a body by setting the Content-Type
header rather than the Transfer-Encoding header.
2016-11-03 11:40:45 +01:00
Greg Wilkins bbc21e8648 Issue #1065 Improved error message on setBufferSize 2016-11-03 15:06:32 +11:00
Greg Wilkins 3dc2637d21 Issue #1063 Accept empty host 2016-11-03 15:06:32 +11:00
Jan Bartel f3f31d163c Issue #1050
Add check for duplicate FilterHolder,ServletHolder objects
2016-11-03 10:55:02 +11:00
Joakim Erdfelt 3a8cdc93d8 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-11-02 11:33:43 -07:00
Joakim Erdfelt c665106fc5 Issue #1057 - Improve WebSocketUpgradeFilter performance
+ Tests for WebSocket upgrade now evaluates the request
  from least common feature to most common feature, so as
  minimize the testing of the request object on every request
2016-11-02 11:28:56 -07:00
Jan Bartel 8461cc07b3 Issue #1050 2016-11-02 17:32:55 +11:00
Jan Bartel ca882c8dee Issue #240
No error if no parts because input stream already consumed.
2016-11-02 15:40:59 +11:00
Joakim Erdfelt 2c38511828 Updating to version 9.3.15-SNAPSHOT 2016-10-28 13:01:34 -07:00
Joakim Erdfelt 14611d2f76 Updating to version 9.3.14.v20161028 2016-10-28 12:21:02 -07: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
Jan Bartel 6f6ccdf061 480764 Add extra tests for empty multipart. 2016-10-28 14:41:05 +11:00
Greg Wilkins 9f430ae7f7 Issue #1038 i
Handle resources as URIs
Avoid unneccessary trailing /
2016-10-28 10:50:39 +11:00
Joakim Erdfelt cdf447e34e Issue #1038 - making testcase more OS independent 2016-10-27 16:43:23 -07:00
Greg Wilkins 6e1994641b Issue #1038
Readded sorting of attributes by length
added .uri attributes
support WAR.path and WAR.uri in preference to WAR
updated for latest unit test
2016-10-28 10:31:22 +11:00
Joakim Erdfelt 2c6c7d86ba Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-10-27 16:17:34 -07:00
Joakim Erdfelt a00494fafb Issue #1038 - updating test case for AttributeNormalizer 2016-10-27 16:15:46 -07:00
Simone Bordet bda08ad9e3 Tests can throw any exception. 2016-10-27 17:10:34 +02:00
Simone Bordet 5ad8f2a777 Guarded against NPE if the channel is not associated with the stream. 2016-10-27 16:45:12 +02:00
Simone Bordet 8fef113372 Fixes #1046 - Improve HTTP2Flusher error report.
Now remembering the cause of the termination, and propagating it to
other components.
2016-10-27 15:43:41 +02:00
Simone Bordet 8cefaba2a4 Allow process() to throw Throwable, which we catch anyway. 2016-10-27 15:43:12 +02:00
Greg Wilkins 0f7028e9fa Quickstart attribute normilazation #1038
Removed a lot of bad tests that incorrection assumed it was OK to mix Paths and URIs like:
jar:file:${jetty.base}/webapps/some.war!/some/path

refactored to keep PathAttributes and URIAttributes separate
2016-10-27 16:29:52 +11:00
Jan Bartel dadb86c831 Issue #1032
Make apache-jsp jar artifact without META-INF/services juli log
2016-10-27 10:37:35 +11:00
Joakim Erdfelt 7256d75e9c Issue #1038 - fixes for MS Windows 2016-10-26 16:09:12 -07:00
Joakim Erdfelt ca5e075ba0 Issue #1038 - treating ${WAR} as a URI always, not a Path
+ Still needs testing on MS Windows
2016-10-26 15:30:34 -07:00
Joakim Erdfelt ebc8983721 Issue #1038 - correcting "file:" and double "//" behavior 2016-10-26 14:25:20 -07:00
Joakim Erdfelt 41cd3bd090 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-10-26 10:31:45 -07:00
Joakim Erdfelt c4a8e684c8 Fixes #1039 - AttributeNormalizer should not track null paths 2016-10-26 10:31:12 -07:00
Joakim Erdfelt 7328742ae5 Fixes #1038 - ${WAR} should be favored over other attributes, like ${jetty.base} 2016-10-26 10:23:58 -07:00