Jan Bartel
1ee6fe4cba
Change session renewal to be in line with servlet3.1; make session tests work; fix mongo session manager (scavenging)
2012-10-27 17:38:43 +11:00
Jan Bartel
b496962a4a
SERVLET_SPEC-27
2012-10-27 17:38:43 +11:00
Jan Bartel
276fea25b8
Add comments
2012-10-27 17:38:43 +11:00
Jan Bartel
958d0c6949
Start incorporating (EDR version) servlet 3.1 spec
2012-10-27 17:38:43 +11:00
Simone Bordet
605b0360e1
HTTP client: reviewed API.
...
The API were inconsistent: sometimes using the C format for getters and setters
(e.g. String host(), void host(String)), sometimes using the JavaBeans format.
Now the API stick with the JavaBean format apart the "fluent" API in Request,
that is in the fluent format (i.e. C setter format, but returning this instead of void).
2012-10-26 23:42:18 +02:00
Simone Bordet
5e7f6988e4
HTTP client: introduced InputStreamContentProvider.
2012-10-26 17:40:28 +02:00
Simone Bordet
6ef412b776
Fixed case of writing a zero-length buffer that is not the last content:
...
we should return FLUSH instead of DONE, waiting for the last content flag.
2012-10-26 17:39:57 +02:00
Simone Bordet
b0306adf8d
HTTP client: fixed bug in case of connection failure:
...
requests may have stayed queued and never notified of a connection failure
if their number exceeded the max connection per address value.
2012-10-26 14:57:06 +02:00
Simone Bordet
58e8ff8fbf
#392733 - Implement a total timeout for asynchronous sends.
...
Reworked the implementation.
Instead of adding another method for asynchronous sends with
timeout parameters, we now use a TimedResponseListener utility
class, that holds the timeout information.
2012-10-26 14:57:06 +02:00
Simone Bordet
61ba84bda5
Added toString().
2012-10-26 14:57:06 +02:00
Simone Bordet
31b77d9ade
Cleaned up implementation.
2012-10-26 14:57:06 +02:00
Simone Bordet
e2a988f8fc
HTTP client: tests on external synchronization.
2012-10-26 14:57:06 +02:00
Greg Wilkins
7d93f4b228
392237 more debug
2012-10-26 15:31:19 +11:00
Greg Wilkins
4913c1eb9b
jetty-9 spaces appear to help with header detection
2012-10-26 14:35:53 +11:00
Greg Wilkins
63f2db2242
Merge remote-tracking branch 'origin/jetty-8'
...
Conflicts:
jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
2012-10-26 09:43:05 +11:00
Greg Wilkins
af732a758e
392237 distribute rewrite
2012-10-26 09:42:07 +11:00
Jan Bartel
e93aa7d42c
Merge remote-tracking branch 'origin/jetty-7' into jetty-8
2012-10-26 09:39:53 +11:00
Jan Bartel
8a9d25a48b
392641 JDBC Sessions not scavenged if expired during downtime
2012-10-26 09:26:40 +11:00
Greg Wilkins
c51cabccc1
392237 moved HttpTransport towards asynchronous solution
2012-10-25 23:28:32 +11:00
Greg Wilkins
bf7a0ace22
392237 Added BlockingCallback optimisation
2012-10-25 22:36:13 +11:00
Greg Wilkins
5d53c7d960
392237 Fixed 3.0 port of chat servlet - removed old dispatch branch
2012-10-25 22:10:22 +11:00
Greg Wilkins
18f7293efd
392237 Fixed 3.0 port of chat servlet
2012-10-25 12:27:30 +11:00
Greg Wilkins
71d7c6ff08
Merge remote-tracking branch 'origin/copyByteBuffer'
2012-10-25 10:11:55 +11:00
Simone Bordet
975a20271f
#392733 - Implement a total timeout for asynchronous sends.
2012-10-24 21:36:40 +02:00
Thomas Becker
35b7a0a62d
block instead of copy
2012-10-24 16:41:09 +02:00
Joakim Erdfelt
1b6d919d8c
Adding logging on read timeout
2012-10-23 15:29:07 -07:00
Joakim Erdfelt
3e2aee293e
Cleaning up close handshake and noisy tests
2012-10-23 12:16:29 -07:00
Joakim Erdfelt
4f7c66ae81
Using NO_CODE instead of -1 for close frame with no status code declared
2012-10-23 12:16:29 -07:00
Simone Bordet
b6bf6899a9
HTTP client: improved request abort handling in case of conversations.
2012-10-23 11:02:50 +02:00
Simone Bordet
8635792507
HTTP client: better implementation for request/response abort.
2012-10-22 23:33:41 +02:00
Greg Wilkins
e4069c6939
392237 improved configuration defaults to match documentation
2012-10-22 17:48:41 +11:00
Greg Wilkins
9a1972e142
Merge remote-tracking branch 'origin/jetty-8'
2012-10-22 15:17:45 +11:00
Greg Wilkins
ce46d39eb0
392237 javadoc
2012-10-22 15:17:18 +11:00
Jan Bartel
e8a77e7fce
Merge remote-tracking branch 'origin/jetty-7' into jetty-8
2012-10-21 20:20:04 +11:00
Jan Bartel
63ec4e4a39
392525 Add option to --stop-wait to specify timeout
2012-10-21 20:18:45 +11:00
Greg Wilkins
b08dd26284
392237 Added some more debugging
2012-10-21 16:51:35 +11:00
Greg Wilkins
7c1039940f
392237 Added some debugging
2012-10-21 16:39:05 +11:00
Greg Wilkins
a2bc79922e
392237 Converted ChatServlet to servlet 3.0
2012-10-21 16:26:17 +11:00
Greg Wilkins
be3432ad55
392237 removed server dependency on contination. All Continuations are now Servlet3Continuations or FauxContinuations
2012-10-21 16:19:40 +11:00
Joakim Erdfelt
3e07bccb71
Adding another UTF8 High Surrogate test
2012-10-19 11:18:06 -07:00
Joakim Erdfelt
a1d559e863
Attempting to get a grip on possible \ud807 UTF8 decoding as reported by W3C websocket working group
2012-10-19 11:15:19 -07:00
Thomas Becker
8a6b18c1b0
ServerHTTPSPDYTest fix test
2012-10-19 18:35:17 +02:00
Thomas Becker
91eaf6b562
ServerHTTPSPDYTest Ignore failing test until fixed
2012-10-19 18:32:38 +02:00
Thomas Becker
8c3642754e
392470: Fix problem in suspend, expire cycle when HttpChannel.run() is called multiple times (happens for SPDY). Add test cases. Remove unused argument from HttpHandler.messageComplete() interface and it's implementations.
2012-10-19 18:17:29 +02:00
Simone Bordet
aa1a6347c1
#392465 - NextProtoNegoClientConnection does not replace the connection if handshake terminates in onOpen().
...
Now we check in NextProtoNegoClientConnection.onOpen() if the NPN is completed, and if so, we replace the connection.
2012-10-19 17:53:54 +02:00
Simone Bordet
c21a17ea83
#392463 - Client SSL handshake may hang.
...
Now we check whether a fill() called from flush() has changed the SSLEngine state to NEED_WRAP,
and if so, we continue to wrap.
2012-10-19 17:53:54 +02:00
Hugues Malphettes
3261318984
Add equinox-3.7.0 to the osgi frameworks tested
...
3.7.0 is correctly cached by pax-exam unlike 3.7.1
3.7.2 is not supported with the current version of
pax-exam-2.x
2012-10-19 23:51:29 +08:00
Hugues Malphettes
582de3e0f8
Avoid downloaded equinox for each test
...
Somehow equinox-3.7.1 is downloaded by pax-exam on each testThat makes
the execution of the tests very slow.
This looks specific to equinox-3.7.1
Commenting it out until we find a better way.
2012-10-19 23:46:01 +08:00
Greg Wilkins
2b13648b0e
392237 fixed many TODOs and many minor code cleanups
2012-10-19 16:17:30 +11:00
Greg Wilkins
f420f5016d
392237 Implemented HttpOutput.sendContent for large content
2012-10-19 10:16:30 +11:00