Simone Bordet
7211d415f9
Updated test to run even when not connected to the network.
2015-08-30 18:09:53 +02:00
Joakim Erdfelt
6fad345161
475209 - WebSocketServerFactory should not hand null object to DecoratedObjectFactory
2015-08-27 15:36:57 -07:00
Joakim Erdfelt
5312f2c0d7
Merge branch 'jetty-9.2.x'
...
Conflicts:
jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java
jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java
2015-08-27 15:34:45 -07:00
Joakim Erdfelt
25cfffbe1e
428474 - Expose batch mode in the Jetty WebSocket API
2015-08-27 14:53:21 -07:00
Joakim Erdfelt
11b5d320f8
472082 - isOpen returns true on CLOSING Connection
...
+ Minor tweak to test for isOutputAvailable() instead of connection
state.
2015-08-27 12:52:52 -07:00
Joakim Erdfelt
ef067b2624
476023 - Incorrect trimming of WebSocket close reason
...
+ Fixed CloseStatus.trimMaxReasonLength() to perform trim correctly
+ Deprecated CloseStatus.trimMaxReasonLength() because it creates
to many objects
+ Removed use of CloseStatus.trimMaxReasonLength() in implementation
code
+ Improved CloseInfo ...
+ tracks reason via utf8 byte array (not String object)
+ trims utf8 byte array as-needed
+ All non-jsr implementations use CloseInfo logic
2015-08-27 11:12:51 -07:00
Joakim Erdfelt
54e3d0a2e8
476049 - When using WebSocket Session.close() there should be no status code or reason sent
2015-08-27 09:33:44 -07:00
Joakim Erdfelt
9c855bee76
474936 - WebSocketSessions are not always cleaned out from openSessions
...
+ Adding testcase
+ Enabling Connection.onClose() -> ioState.onDisconnected()
Conflicts:
jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/WebSocketCloseTest.java
2015-08-27 09:33:28 -07:00
Joakim Erdfelt
cb0852c53c
476049 - When using WebSocket Session.close() there should be no status code or reason sent
2015-08-27 09:27:28 -07:00
Jesse McConnell
6409366499
[maven-release-plugin] prepare for next development iteration
2015-08-27 10:11:29 -05:00
Jesse McConnell
3086adc965
[maven-release-plugin] prepare release jetty-9.3.3.v20150827
2015-08-27 10:11:21 -05:00
Jesse McConnell
be35fd72cd
ignore
2015-08-27 09:40:45 -05:00
Jesse McConnell
3a975426bf
@Ignore for release
2015-08-27 09:17:45 -05:00
Jesse McConnell
bf02158f66
set for release
2015-08-27 08:33:01 -05:00
Jesse McConnell
f5d1fb1058
Merge branch 'master' into release-9.3.3
2015-08-27 08:31:22 -05:00
Simone Bordet
bee5437bad
475927 - SecureRequestCustomizer fails to match host.
...
Cosmetic changes during review.
2015-08-27 11:14:33 +02:00
Greg Wilkins
8070ce61f3
475927 - SecureRequestCustomizer fails to match host.
...
Moved host and wildcard to new X509 class
2015-08-27 12:25:52 +10:00
Joakim Erdfelt
c07f11a1fd
474936 - WebSocketSessions are not always cleaned out from openSessions
...
+ Adding testcase
+ Enabling Connection.onClose() -> ioState.onDisconnected()
2015-08-26 17:08:14 -07:00
Simone Bordet
7057dae67b
475927 - SecureRequestCustomizer fails to match host.
...
Fixed by storing in the SSLSession the SNI names correspondent to the
alias that was selected when the TLS connection was initiated.
2015-08-26 20:36:43 +02:00
Simone Bordet
874300472e
Do not hardcode the "http" scheme, but use that of the request.
2015-08-26 11:58:18 +02:00
Jesse McConnell
f8734f23ce
[maven-release-plugin] prepare for next development iteration
2015-08-25 14:10:01 -05:00
Jesse McConnell
e9edf4c24b
[maven-release-plugin] prepare release jetty-9.3.3.v20150825
2015-08-25 14:09:54 -05:00
Jesse McConnell
7a2f4df2c9
set for release
2015-08-25 11:57:52 -05:00
Simone Bordet
6c5477de86
Fixed randonly failing test.
...
Sometimes the DNS was returning one IPv4 and one IPv6 address.
Replacing the IPv4 one left as the only valid address the IPv6; but
if IPv6 is not deployed on the network infrastructure, then that will
fail too, causing the test to fail.
2015-08-25 18:21:03 +02:00
Simone Bordet
ef9724f448
Improved error reporting.
2015-08-25 18:19:29 +02:00
Simone Bordet
3333d1834f
Using try-with-resources to close ServerSocket.
2015-08-25 16:22:56 +02:00
Simone Bordet
c24aa25dfb
475546 - ClosedChannelException when connecting to HTTPS over HTTP proxy with CONNECT.
...
Not closing the connection if the request method is CONNECT.
2015-08-25 15:07:50 +02:00
Simone Bordet
a93b35d59e
Improved documentation regarding the effects of ContentProvider.getLength()
...
on other HTTP headers such as Content-Length.
2015-08-24 19:20:49 +02:00
Simone Bordet
545fa0f72b
475605 - Add support for multi-homed destinations.
...
If DNS lookup returns multiple IP addresses, HttpClient tries to
connect to the first; failing that, to the second, and so on.
2015-08-24 12:31:08 +02:00
Greg Wilkins
aca2aa56ad
475483 - Starting Jetty with [exec] should use properties file.
...
Added --exec-properties to allow the name of the properties file to be set
and for it not to be deleted on exit.
2015-08-21 09:03:26 +10:00
Simone Bordet
bfeb7f56a6
Closing the connection also in case the parser is in CLOSED state.
...
When the request is fully read and the response is sent, the parser
may enter the CLOSE state if there were Connection: close headers.
It may happen that later the connection reads -1, then moves the
parser is CLOSED state, so the condition to close the connection must
include the CLOSED state.
2015-08-20 18:23:55 +02:00
Simone Bordet
fd335d6c3e
Guarded against NPE.
2015-08-20 16:31:09 +02:00
Simone Bordet
9b6ba2477c
Removed unnecessary field.
2015-08-20 15:15:06 +02:00
Simone Bordet
837a36e3ec
475483 - Starting Jetty with [exec] should use properties file.
...
Now using a properties file in case of [exec], and moved the
properties file inside the $jetty.base directory.
2015-08-20 15:04:04 +02:00
Greg Wilkins
d44ba7e24a
Improved Context pluggability
2015-08-19 16:28:36 +10:00
Greg Wilkins
2cc663685a
ContextHandler.ContextScopeListener
...
Added a listener that is called as any thread enters/exits a context/request scope. This is
both normal servlet dispatches and async callbacks.
2015-08-19 15:30:52 +10:00
Jan Bartel
4743c19a8c
474961 Close input stream for classes in AnnotationParser after scanning
2015-08-19 11:12:40 +10:00
Jan Bartel
3de7fc77c7
474558 Debug log ServletContainerInitializer @HandlesTypes contents
2015-08-19 10:25:36 +10:00
Greg Wilkins
22babda3f9
472411 PathResource.checkAliasPath() typo
2015-08-19 09:54:04 +10:00
Greg Wilkins
afda638dd9
474685 - GzipHandler configuration supports csv paths and mimetypes.
...
readded for backward compatibility, but with a warning it will be removed.
2015-08-19 09:39:38 +10:00
Simone Bordet
805ec9554c
475195 - SNI matching fails when keystore does not contain wild certificates.
...
Fixed condition in SslContextFactory.getKeyManagers() that installs
the SniX509ExtendedKeyManager.
Miscellaneous code cleanups.
2015-08-17 20:55:20 +02:00
Joakim Erdfelt
8e2b32173d
Turning down logging
2015-08-14 14:48:51 -07:00
Joakim Erdfelt
6ea5b03e23
474634 - AsyncListener.onError() handling.
...
+ Reworking test-continuations to (hopefully) be a bit more reliable
in its working with history assertions on slower hardware.
Namely, the server is started, and stopped, for each testcase
*before* the assertions of success are tested.
2015-08-14 14:48:51 -07:00
Joakim Erdfelt
d1fa4583b3
Adding some output to testcase to help track down behavior seen on ci
2015-08-14 14:48:51 -07:00
Simone Bordet
b96f2f5b24
474634 - AsyncListener.onError() handling.
...
Simplified exception handling, making sure that we terminate the
handling even in case the state was COMPLETING but the container
could not write the response.
2015-08-14 14:48:51 -07:00
Simone Bordet
94df04e57b
Fixed unnecessary double dispatch.
2015-08-14 14:48:51 -07:00
Simone Bordet
b819273c7b
474634 - AsyncListener.onError() handling.
...
Refactored continuation tests.
2015-08-14 14:48:51 -07:00
Joakim Erdfelt
2f4f4a2247
Minor improvements in WebSocketConnection.toString()
2015-08-14 14:48:51 -07:00
Greg Wilkins
087b4c94d7
474358 - DefaultServlet bad Content-Type on compressed content
2015-08-14 16:03:08 +10:00
Greg Wilkins
6274522787
Merge branch 'master' into async_onError
2015-08-14 12:27:19 +10:00