Simone Bordet
9cb21d1377
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-23 12:42:00 +02:00
Simone Bordet
f7baf9923f
Fixed issue caused by the fix to #447746 : user agent header must not
...
be added, but overwritten.
2014-10-23 12:41:16 +02:00
Simone Bordet
65832dfae3
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-23 11:47:02 +02:00
Simone Bordet
84b38aba15
447746 - HttpClient is always going to send User-Agent header even though I do not want it to.
2014-10-23 11:46:18 +02:00
Jan Bartel
01a1fc166e
Merge remote-tracking branch 'origin/jetty-9.2.x'
2014-10-23 11:20:44 +11:00
Jan Bartel
9cc3f4b206
447629 getPart()/getParts() fails on Multipart request if getParameter is called in a filter first
2014-10-23 09:58:11 +11:00
Greg Wilkins
627ba945f1
Added AsyncDelayHandler example
2014-10-23 09:11:27 +11:00
Simone Bordet
0eade706a6
Removed Thread.dumpStack() calls used for debugging.
2014-10-22 18:10:25 +02:00
Greg Wilkins
b65aed7d10
Merge remote-tracking branch 'origin/jetty-9.2.x'
2014-10-22 22:44:18 +11:00
Greg Wilkins
921381eb7c
448156 Fixed INACTIVE race in IteratingCallback
...
More code cleanups and review
2014-10-22 22:43:24 +11:00
Greg Wilkins
58b56b0cfb
fixed bad merge
2014-10-22 16:47:55 +11:00
Greg Wilkins
3f76eef8d1
Merge remote-tracking branch 'origin/jetty-9.2.x'
...
Conflicts:
jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java
2014-10-22 16:42:23 +11:00
Greg Wilkins
679b8d30f8
448156 Fixed INACTIVE race in IteratingCallback
...
Additional cleanups of ICB code
2014-10-22 16:40:28 +11:00
Greg Wilkins
29a9f4f693
448156 Fixed INACTIVE race in IteratingCallback
...
Fixed double usage of callback
2014-10-22 16:14:51 +11:00
Greg Wilkins
4bbd3e9909
Merge remote-tracking branch 'origin/jetty-9.2.x'
2014-10-22 14:08:52 +11:00
Greg Wilkins
34782005b2
448156 Fixed INACTIVE race in IteratingCallback
...
Simplified the ICB statemachine with the addition of a lock state to handle the case of iterate() called while a
previous process() iteration is just existing.
Also added the CALLED state to replace INACTIVE when a callback is called before PENDING state entered.
renamed INACTIVE to IDLE
2014-10-22 14:06:40 +11:00
Jan Bartel
592265c21f
447627 MultiPart file always created when "filename" set in Content-Disposition
2014-10-22 12:56:59 +11:00
Greg Wilkins
5da7c29787
Simplified SelectorManager state machine
...
Removed changing state, as it is just an aspect of processing.
2014-10-22 10:29:41 +11:00
Greg Wilkins
062a5c4113
447515 Remove GzipFilter
...
misc cleanups in preparation for removal
2014-10-17 15:52:11 +11:00
Greg Wilkins
ba7f7589cb
Merge remote-tracking branch 'origin/jetty-9.2.x'
2014-10-17 14:31:22 +11:00
Greg Wilkins
8bf6b2c62c
444031 Ensure exceptions do not reduce threadpool below minimum
...
improved the suppression of warnings
2014-10-17 14:29:40 +11:00
Greg Wilkins
a906aaa266
Simplified SelectorManager state machine
...
Made the SelectorManager use the CaS state machine for both locking and controlling
the mode of handling changes.
Replaced the concurrent change queue with a pair of array lists that are switched while the lock state is held
2014-10-17 14:16:48 +11:00
Greg Wilkins
e8a843dc6a
Submit selector interest changes
...
After seeing a stack trace with many threads blocked on setInterest, have reverted to always submitting changes
2014-10-17 12:36:02 +11:00
Greg Wilkins
dc33bb84a4
447472 test harness for slow large writes
2014-10-17 11:04:23 +11:00
Simone Bordet
70894962a1
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-16 21:23:22 +02:00
Simone Bordet
e4b92d7d1c
Added NPN 1.1.9.v20141016 URL.
2014-10-16 21:22:29 +02:00
Simone Bordet
e25e2e2258
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-16 19:48:38 +02:00
Simone Bordet
90e9cfc535
447381 - Disable SSLv3 by default.
...
Excluded by default also SSLv2Hello.
2014-10-16 19:46:33 +02:00
Simone Bordet
6268421dd0
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-16 18:05:12 +02:00
Simone Bordet
aea5070e51
447381 - Disable SSLv3 by default.
...
Excluded by default SSL, SSLv2 and SSLv3.
2014-10-16 17:53:52 +02:00
Simone Bordet
f2eaa963f8
Removed debugging statements.
2014-10-16 17:42:32 +02:00
Simone Bordet
0a46378e6e
Updated NPN and ALPN files and configuration for JDK 7u71, 7u72 and 8u25.
2014-10-16 17:15:15 +02:00
Simone Bordet
6f42d21ed5
446063 - ALPN Fail SSL Handshake if no supported Application Protocols.
2014-10-16 15:31:24 +02:00
Greg Wilkins
aad1f9d058
447515 Remove GzipFilter
...
Made GzipHandler the same as AsyncGzipFilter
Added a HttpOutput.Interceptor
2014-10-16 20:50:11 +11:00
Jan Bartel
4120405b8e
Make PushCacheFilter a system class so it is loaded with container classloader.
2014-10-16 19:22:26 +11:00
Jan Bartel
6a6c8bacda
NPE protect DefaultServlet iteration through request fields
2014-10-16 19:02:21 +11:00
Greg Wilkins
ec79a6f88e
Improve HTTP header pre-encoding
...
The HttpContent class has been reworked to store HttpField instances, we may be generated on
demand or instances of PreEncodedHttpField.
The encoding of HTTP2 fields has been generalized to handle both indexed and literal fields, selected
by header enum set.
Default servlet and response classes have been cleaned up in how they set response headers.
2014-10-16 12:31:37 +11:00
Simone Bordet
61ec3efd65
Cosmetics.
2014-10-15 11:39:32 +02:00
Greg Wilkins
ea64d32214
447216 putAll Properties in XmlConfiguration
2014-10-15 18:28:46 +11:00
Jan Bartel
1729fb045c
446923 SharedBlockingCallback does not handle connector max idle time of Long.MAX_VALUE; BlockerTimeoutException not serializable
2014-10-15 18:17:01 +11:00
Greg Wilkins
d82809d2f1
Simplified state machine for select interest update.
...
The state machine now simply tracks if the endpoint is selecting or has been selected.
The slight complexity is that any transition between these two states goes via a locked
state, where there is exclusive access to the interested ops and selection key.
2014-10-15 17:33:58 +11:00
Greg Wilkins
8c85b2f591
improved http2 static entry generation
2014-10-15 14:04:54 +11:00
Greg Wilkins
6b489c78b6
Merge remote-tracking branch 'origin/jetty-9.2.x'
2014-10-15 11:46:42 +11:00
Greg Wilkins
8a555e669a
444031 Ensure exceptions do not reduce threadpool below minimum
2014-10-15 11:22:53 +11:00
Simone Bordet
395ecd2b70
Fixed race in updating the key interests.
...
It was possible that updateKey() was seeing a SELECTING state and
therefore attempt to call setKeyInterests(), while changeInterests()
was also seeing the SELECTING state, then moving to CHANGING so that
_interestOps was accessed concurrently.
Also made the update task to call updateKey() instead of calling
directly setKeyInterests(), in order to comply with the state
machine; this required to have onSelected() handle additional states
that are created by updateKey().
Finally, in updateKey() now setKeyInterests() is called before
updating the state to isolate the call into its own state.
2014-10-14 20:40:13 +02:00
Simone Bordet
890d7a8d1f
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-13 22:01:20 +02:00
Simone Bordet
82d86ed0d0
Fixed typo.
2014-10-13 21:42:31 +02:00
Simone Bordet
9796457dfc
446672 - NPN Specification issue in the case no protocols are selected.
2014-10-13 21:27:11 +02:00
Simone Bordet
fb590a5fff
Fixed merge conflict.
2014-10-13 17:10:03 +02:00
Simone Bordet
e7d830c26e
Merged branch 'jetty-9.2.x' into 'master'.
2014-10-13 16:57:52 +02:00