8902 Commits

Author SHA1 Message Date
Jan Bartel
075e6a7363 428157 Methods of anonymous inner classes can't be called via xml 2014-02-14 16:03:29 +11:00
Jan Bartel
b88724f23c 426490 HttpServletResponse.setBufferSize(0) results in tight loop (100% cpu hog) 2014-02-14 11:57:53 +11:00
Joakim Erdfelt
cff7c9dbcb Cleaning up websocket connection open/close in favor of session open/close 2014-02-13 16:22:55 -07:00
Greg Wilkins
18e19260ff Apply changes resulting from the quickstart project 2014-02-13 12:31:14 +11:00
Joakim Erdfelt
1eb87fdddc Fixing jndi lock property key to include 'jetty' portion 2014-02-12 17:02:48 -07:00
Joakim Erdfelt
e93097c09c Introducing JNDI deep binding optional behavior.
+ Adding "org.eclipse.jetty.jndi.deepBinding" to NamingContext as
  either an env setting or a System property to control deep binding
  behavior that is presently being used by OpenEJB
2014-02-12 17:02:47 -07:00
Joakim Erdfelt
30c5998d3c minor cleanup 2014-02-12 17:02:47 -07:00
Jesse McConnell
70fb1a98b7 Merge branch 'release-9' 2014-02-12 10:06:59 -06:00
Jesse McConnell
eb0aea46ce set versions.txt file to new version and fix mistaken developmentVersion 2014-02-10 13:48:29 -06:00
Jesse McConnell
f3d38dfb15 [maven-release-plugin] prepare for next development iteration 2014-02-10 11:17:14 -06:00
Jesse McConnell
8f6cbc9111 [maven-release-plugin] prepare release jetty-9.1.2.v20140210 jetty-9.1.2.v20140210 2014-02-10 11:17:07 -06:00
Jesse McConnell
86f46c9ee4 Updating VERSION.txt top section 2014-02-10 10:48:14 -06:00
Jesse McConnell
206b2ebf35 Merge branch 'master' into release-9 2014-02-10 10:46:02 -06:00
Simone Bordet
51e8b83954 427699 - WebSocket upgrade response sends Sec-WebSocket-Protocol twice.
The problem was that UpgradeResponse was setting the subProtocol as a
header, and HandshakeRFC6455 was extracting it and *adding* it again.

Fixed by removing the code in HandshakeRFC6455.
2014-02-10 14:43:22 +01:00
Simone Bordet
b37c68db3b 427690 - Remove Mux Extension and related support. 2014-02-10 13:10:58 +01:00
Simone Bordet
66a19bd646 Avoided to copy the frame payload if we happen to have it all
available.
2014-02-10 12:56:54 +01:00
Simone Bordet
18d2180cdc 427588 - WebSocket Parser leaks ByteBuffers.
Fixed by having the Parser release the payload ByteBuffer.
Also reworked WebSocketFrame.reset() method, and made sure
that outgoing frames also don't leak ByteBuffers.
2014-02-10 12:21:50 +01:00
Simone Bordet
95c728c12f Do not track null ByteBuffers that are being released. 2014-02-10 09:46:16 +01:00
Jan Bartel
ec8dabfa5b Update realm.properties for test-spec-webapp for use with jetty-maven-plugin 2014-02-07 12:16:05 +11:00
Simone Bordet
21d938f12d 427587 - MessageInputStream must copy the payload.
Forgot to flip the buffer.
2014-02-06 22:39:02 +01:00
Simone Bordet
cf37533d87 427587 - MessageInputStream must copy the payload. 2014-02-06 21:18:21 +01:00
Simone Bordet
e2805b5b1b Using jetty-test-helper version 2.7. 2014-02-06 16:47:57 +01:00
Simone Bordet
1841b3ec87 427572 - Default number of acceptors too big.
Defaulted to 1+cores/16.
2014-02-06 16:47:57 +01:00
Jesse McConnell
4d4b0c42e7 [Bug 427570] externalize common http config to start.ini 2014-02-06 09:14:28 -06:00
Simone Bordet
9356ab46da Made test more robust.
The check for the connection being closed may fail spuriously because
the notification of CompleteListener happens before the connection is
closed.
2014-02-06 11:56:25 +01:00
Simone Bordet
5edf2799e9 Made test more robust.
The response may arrive on client before the server notifies the
complete listeners, so the assert on client side was spuriously
failing to check the completion on server side.
2014-02-06 11:27:22 +01:00
Jan Bartel
51aedd2393 426358 NPE generating temp dir name if no resourceBase or war 2014-02-06 12:06:47 +11:00
Jan Bartel
c5c553260f 424171 Old javax.activation jar interferes with email sending 2014-02-06 10:31:35 +11:00
Simone Bordet
8e03498b0d Renamed NetworkTrafficSelectChannelConnector to
NetworkTrafficServerConnector and deprecated the old class.
2014-02-05 23:05:23 +01:00
Simone Bordet
f147362915 427512 - ReadPendingException in case of HTTP Proxy tunnelling.
Fixed by marking the old HttpConnection as "soft closed", that is
make it so that isClosed() returns true but the underlying EndPoint
is not closed.
This allows the HttpReceiver to skip the registration for fill
interest, so that the ReadPendingException is not thrown.
2014-02-05 21:30:06 +01:00
Greg Wilkins
7725056234 426750 isReady() returns true at EOF 2014-02-05 17:34:22 +11:00
Jesse McConnell
ba318ccbd3 [426003] active modules with missing dependencies fail accordingly, non-active with missing deps fail silently 2014-02-04 14:09:16 -06:00
Jan Bartel
4844508c5f 427245 StackOverflowError when session cannot be de-idled from disk 2014-02-04 19:25:34 +11:00
Simone Bordet
5d9360e343 427254 - Cookies are not sent to the client.
Introduced ServletUpgradeResponse.complete(), called when the response
is about to be sent to the client, to transfer the headers stored in
the superclass (UpgradeResponse.headers) into the HttpServletResponse.
2014-02-03 15:31:51 +01:00
Simone Bordet
cfe248c67b 427128 - Cookies are not sent to the server.
Implemented/fixed handling of cookies sent by client to server.
2014-02-03 12:49:58 +01:00
Simone Bordet
5e3c8821bb If ClientContainer is being stopped, then we can unregister it from
the ShutdownThread.

This happens when ClientContainer is added as a managed bean to a
ContainerLifeCycle and the container is stopped.
2014-02-03 12:09:27 +01:00
Simone Bordet
3f5a30282d Made sure that the number of selectors cannot be zero. 2014-02-03 12:09:27 +01:00
Greg Wilkins
8cc9d71e20 426750 Handle autoclose on async writes 2014-02-03 17:59:31 +11:00
Jan Bartel
d4368d1018 427068 ServletContext.getClassLoader should only check privileges if a SecurityManager exists 2014-01-31 16:24:00 +11:00
Greg Wilkins
a09d05b5cb protected ServletHandler API 2014-01-30 15:52:15 +11:00
Simone Bordet
3486046f1e 426870 - HTTP 1.0 Request with Connection: keep-alive and response
content hangs.

Refactored tests.
2014-01-29 18:26:32 +01:00
Simone Bordet
cbdfd87d78 426870 - HTTP 1.0 Request with Connection: keep-alive and response
content hangs.

Fixed HttpGenerator to stay in the EOF_CONTENT mode if such case is
detected (while before it was moving to NO_CONTENT mode).
By staying in EOF_CONTENT mode the generator is made non-persistent
and eventually the connection is closed, signaling the end-of-content
to the client.
2014-01-29 11:20:00 +01:00
Joakim Erdfelt
5ed1a9dfb4 Adding parameterized version of HttpGeneratorServerTest.testHTTP() 2014-01-28 11:57:44 -07:00
Simone Bordet
7ce6aee304 426739 - Response with Connection: keep-alive truncated.
Fixed copy/paste error.
Also removed unnecessary constant.
2014-01-27 18:57:24 +01:00
Jesse McConnell
2db90757ed Bug 426481 fix < java 1.7.0_10 npn files 2014-01-23 10:36:29 -06:00
Jesse McConnell
d2ab0ed506 Bug 426250 jetty-all should be deployed on release 2014-01-22 16:57:36 -06:00
Jesse McConnell
44858c2428 [Bug 423421] remove org.slf4j and org.ow2.asm from jetty-all artifact 2014-01-22 16:54:51 -06:00
Jan Bartel
49ac6de011 425930 JDBC Session Manager constantly reloading session if save intervall expired once 2014-01-20 13:29:21 +11:00
Greg Wilkins
62666dc344 425638 Fixed monitor module/xml typos 2014-01-20 11:04:39 +11:00
Jan Bartel
5f7a34e590 408167 Complex object as session attribute not necessarily persisted. 2014-01-20 10:40:05 +11:00