8788 Commits

Author SHA1 Message Date
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
Jan Bartel
f735fe834b 425998 JDBCSessionIdManager fails to create maxinterval column 2014-01-18 08:31:43 +11:00
Simone Bordet
27a9970dc6 Updated version to 1.0.1. 2014-01-17 11:59:42 +01:00
Simone Bordet
0492e34c9e Introduced leak tracking for buffers and connections in tests. 2014-01-17 11:47:03 +01:00
Simone Bordet
d3126d8345 Small refactorings. 2014-01-17 11:41:34 +01:00
Simone Bordet
9dcde09cba Fixed buffer recycling. 2014-01-17 11:39:03 +01:00
Simone Bordet
df60fd5c2d Fixed release of connections when the exchange is terminated. 2014-01-17 11:39:03 +01:00
Simone Bordet
05f4367790 Improved handling of BEGIN_REQUEST flags. 2014-01-17 11:39:03 +01:00
Simone Bordet
63e8a462d4 Updated to Jetty 9.1.1.v20140108. 2014-01-17 11:39:02 +01:00
Jan Bartel
1e2e3fc7f2 425837 Upgrade to jstl 1.2.2 2014-01-17 14:36:08 +11:00
Simone Bordet
93013b36dd 425703 - Review [Queued]HttpInput.
Fixed synchronization.
Fixed notification of callbacks outside sync blocks.
Added isEOF() method to allow correct implementation of
blockForContent().
Remove unused callback onAllContentConsumed().
2014-01-15 13:14:19 +01:00
Joakim Erdfelt
e3e402c751 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2014-01-14 15:10:11 -07:00
Joakim Erdfelt
1ff01f36eb Fixing SessionTest failures on windows due to file locking 2014-01-14 15:09:57 -07:00
Simone Bordet
e4cac732cf Updated build profiles to JDK 7u51, along with NPN modules. 2014-01-14 22:51:18 +01:00
Simone Bordet
10dd14d34e Reorganization of the code in preview of a larger refactoring. 2014-01-14 22:51:18 +01:00