Commit Graph

6020 Commits

Author SHA1 Message Date
Simone Bordet 0d762bcdbc HTTP client: refactored response listeners to support lambdas. 2012-10-30 19:22:29 +01:00
Simone Bordet 8d51961516 HTTP client: refactored request listeners to support lambdas. 2012-10-30 19:22:29 +01:00
Thomas Becker 1d6ec310b5 393160: fix connection leaks in NextProtoNegoClientConnection and NextProtoNegoServerConnection 2012-10-30 18:48:38 +01:00
Joakim Erdfelt a1bf37f2a5 Trying to fix intellij scope concern 2012-10-30 08:35:01 -07:00
Simone Bordet 33d97b8dd4 HTTP client: refactored "last exchange" concept out of HttpConversation into HttpExchange. 2012-10-30 12:56:21 +01:00
Simone Bordet 7f37ddbc25 HTTP client: added TestTracker rule. 2012-10-30 12:15:21 +01:00
Simone Bordet ebb76ecfb9 392959 - Review HttpClient.getConversation(long).
Modified to HttpClient.getConversation(long, boolean) in order
to specify whether the conversation must be created or not.
2012-10-30 12:15:21 +01:00
Simone Bordet 1173916da1 HTTP client: renamed ResponseListener.Timed to Schedulable. 2012-10-30 12:15:21 +01:00
Joakim Erdfelt 6108d0df0c 393075 Jetty WebSocket client cannot connect to Tomcat WebSocket Server
* Adding testcase to repliate behavior as reported by bug.
2012-10-29 11:18:01 -07:00
Jan Bartel 8c817c49e5 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-10-29 18:22:48 +11:00
Jan Bartel a74c9f176c 392237 Split jaas from jetty-plus into jetty-jaas and port the test-jaas-webapp from codehaus 2012-10-29 18:21:37 +11:00
Greg Wilkins add3c2b381 392237 improved names and examples for documentation 2012-10-29 17:59:39 +11:00
Greg Wilkins 77a7ff3122 392237 more embedded examples 2012-10-29 16:11:15 +11:00
Jan Bartel 3ae56b8450 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	tests/test-sessions/test-sessions-common/src/main/java/org/eclipse/jetty/server/session/AbstractLastAccessTimeTest.java
2012-10-29 16:09:10 +11:00
Jan Bartel 3d198a94fb Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2012-10-29 16:06:38 +11:00
Jan Bartel 8b90057b68 371170 MongoSessionManager LastAccessTimeTest fails 2012-10-29 16:05:46 +11:00
Jan Bartel ec089948fb 392237 Make rfc2616 webapp work in jetty-9 2012-10-29 15:53:51 +11:00
Jan Bartel d1dfc56e04 Merge remote-tracking branch 'origin/jetty-8' 2012-10-29 15:07:26 +11:00
Jan Bartel a8a015d8c2 Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2012-10-29 14:44:12 +11:00
Jan Bartel 7c03c793d5 392812 MongoSessionIDManager never purges old sessions 2012-10-29 12:49:38 +11:00
Jan Bartel 16b159fe8d 393015 Mongodb purge not rescheduled 2012-10-29 12:48:01 +11:00
Jan Bartel 3ef7a8b263 393014 Mongodb purgevalid using query for purgeinvalid 2012-10-29 11:29:34 +11:00
Greg Wilkins b87dc6ce83 jetty-9 removed old http client 2012-10-29 10:33:58 +11:00
Jan Bartel 262ef1386d License headers 2012-10-28 08:28:17 +11:00
Jan Bartel b8d6b4da8b Making session tests work; incorporating renewing session id keeping old object. 2012-10-27 18:44:35 +11:00
Jan Bartel 4c08f90a3c Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2012-10-27 18:33:14 +11:00
Jan Bartel 0efdc471db Add space to license for license-checker recognition 2012-10-27 18:31:34 +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