Simone Bordet
b82444e3d2
Improved HttpSender.sendHeaders() and sendContent() methods, separating HttpContent and the callbacks.
2013-07-23 15:53:35 +02:00
Simone Bordet
64a8811a5b
Proceeding only if expecting a 100-Continue response.
2013-07-23 15:50:51 +02:00
Simone Bordet
bf47119109
Improved exception handling in HttpSender.
2013-07-23 15:50:51 +02:00
Simone Bordet
1fa4a47f1d
Added debug code for terminal chunk bug.
2013-07-23 15:50:51 +02:00
Simone Bordet
b246d70103
Updated HttpClient code to Jetty 9.1 after merge.
2013-07-23 15:50:51 +02:00
Simone Bordet
a4c63caf26
Working draft of the abstraction of HttpClient transport.
2013-07-23 15:50:51 +02:00
Simone Bordet
3b7322f53b
Merged branch 'master' into 'jetty-9.1'.
2013-07-23 10:01:17 +02:00
Simone Bordet
0aa2a5b6bb
411844 - ArrayIndexOutOfBoundsException on wild URL.
...
URLs like /path?= are now handled correctly.
2013-07-22 17:22:16 +02:00
Greg Wilkins
b8f7637e7d
Merge remote-tracking branch 'origin/master' into jetty-9.1
2013-07-22 23:32:04 +10:00
Simone Bordet
762e4ba4c3
413113 - Inconsistent Request.getURI() when adding parameters via Request.param().
...
Fixed by rebuilding the URI when a call to param() is made.
2013-07-16 21:50:22 +02:00
Simone Bordet
1555a7eb0a
413108 - HttpClient hardcodes dispatchIO=false when using SSL.
...
Reverted to use default value for dispatchIO - without hardcoding it.
2013-07-16 21:33:47 +02:00
Thomas Becker
5667928921
HttpStalledServerConnectionTest fixes
2013-07-15 14:13:36 +02:00
Thomas Becker
891a2c2b36
add HttpStalledServerConnectionTest, small improvements to ProxySPDYToHTTPLoadTest
2013-07-12 08:40:35 +02:00
Thomas Becker
af02334ff7
412750 HttpClient close expired connections fix
2013-07-11 15:13:01 +02:00
Greg Wilkins
7303341ecf
398467 Servlet 3.1 Non Blocking IO
...
more test fixes
2013-07-11 18:45:04 +10:00
Greg Wilkins
cd97b3dcbf
398467 Servlet 3.1 Non Blocking IO
...
fixed more tests
2013-07-11 15:57:42 +10:00
Greg Wilkins
981102fda5
398467 Servlet 3.1 Non Blocking IO
...
Asynchronous reads working.
2013-07-05 18:11:09 +10:00
Joakim Erdfelt
78b5f7df1f
[maven-release-plugin] prepare for next development iteration
2013-06-25 08:29:26 -07:00
Joakim Erdfelt
5f2c937fcb
[maven-release-plugin] prepare release jetty-9.0.4.v20130625
2013-06-25 08:29:18 -07:00
Joakim Erdfelt
31faf2fe20
Reverting failed release from friday
2013-06-25 07:42:45 -07:00
Jesse McConnell
57bfda2a08
[maven-release-plugin] prepare for next development iteration
2013-06-21 09:49:25 -05:00
Jesse McConnell
c1082ad4d4
[maven-release-plugin] prepare release jetty-9.0.4.v20130621
2013-06-21 09:49:15 -05:00
Joakim Erdfelt
f8c457f75e
Merge branch 'jetty-9.1' into javawebsocket-jsr
2013-06-19 15:07:15 -07:00
Simone Bordet
d7c5418718
Merged branch 'jetty-7' into 'jetty-8'.
2013-06-19 19:44:53 +02:00
Simone Bordet
0bca1974b7
411135 - HttpClient may send proxied https requests to the proxy instead of the target server.
...
Made sure to always tunnel the connection if needs to be tunnelled.
2013-06-19 19:43:49 +02:00
Simone Bordet
9240039366
Refactored test so that's clear that host name verification happens on the client.
2013-06-18 10:54:15 +02:00
Greg Wilkins
4e4ffaa54c
Merge remote-tracking branch 'origin/master' into servlet-3.1-api
...
Conflicts:
jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java
jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java
2013-06-17 16:29:39 +10:00
Jesse McConnell
eddb49941d
[Bug 408600] set correct jetty.url in all pom files
2013-06-12 15:52:36 -05:00
Greg Wilkins
d660cfcff6
Merge remote-tracking branch 'origin/master' into servlet-3.1-api
...
Conflicts:
jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java
tests/test-continuation/src/test/java/org/eclipse/jetty/continuation/ContinuationBase.java
2013-06-11 11:17:04 +10:00
Simone Bordet
a2815c0611
410246 - HttpClient with proxy does not tunnel HTTPS requests.
...
Modified HttpClient to tunnel properly requests, and ported tests from Jetty 7 to test this behavior.
2013-06-08 00:38:11 +02:00
Simone Bordet
2ff8962f9f
410083 - Jetty clients submits incomplete URL to proxy.
...
Made the request URI absolute in case the HttpClient is configured with a forward proxy.
2013-06-07 16:34:23 +02:00
Jan Bartel
af02e9b16d
Update to version to 8.1.12-SNAPSHOT after last release
2013-05-30 10:52:39 +10:00
Greg Wilkins
15e0d50b79
Merge remote-tracking branch 'origin/master' into servlet-3.1-api
2013-05-23 09:50:27 +10:00
Jesse McConnell
725dc261c8
Merge branch 'release-8' into jetty-8
2013-05-22 10:44:14 -05:00
Jesse McConnell
a1a6f0e5f2
Merge branch 'release-7' into jetty-7
2013-05-22 10:39:24 -05:00
Jesse McConnell
74a4077dad
Add package-info.java files to all jetty packages.
2013-05-21 15:09:49 -05:00
Jesse McConnell
cede990d41
Add package-info.java to all jetty packages
2013-05-21 15:09:49 -05:00
Jesse McConnell
742f6a063d
[Bug 408600] set correct jetty.url in all pom files
2013-05-21 13:16:39 -05:00
Jesse McConnell
bdbd92dbc9
[Bug 408600] set correct jetty.url in all pom files
2013-05-21 13:10:07 -05:00
Jesse McConnell
0858e69cb1
[maven-release-plugin] prepare for next development iteration
2013-05-20 07:19:34 -05:00
Jesse McConnell
d469b77663
[maven-release-plugin] prepare release jetty-8.1.11.v20130520
2013-05-20 07:19:25 -05:00
Jesse McConnell
497c2f7819
[maven-release-plugin] prepare for next development iteration
2013-05-20 07:15:00 -05:00
Jesse McConnell
b32d0260c9
[maven-release-plugin] prepare release jetty-7.6.11.v20130520
2013-05-20 07:14:52 -05:00
Jan Bartel
cbac0ea5fa
Merge remote-tracking branch 'origin/master' into servlet-3.1-api
2013-05-16 07:24:49 +10:00
Simone Bordet
355c682faa
407326 - Test Failure: org.eclipse.jetty.client.HttpClientStreamTest.testInputStreamResponseListenerFailedBeforeResponse[0].
...
Instead of using port 0, now using an ephemeral port that is not listening anymore.
2013-05-09 12:34:07 +02:00
Simone Bordet
858d58708d
407246 - Test harness checked results in callbacks ignored.
...
Reverted commit 1155901cbb
.
2013-05-09 12:14:03 +02:00
Jesse McConnell
3d600ed95e
[maven-release-plugin] prepare for next development iteration
2013-05-06 18:13:04 -05:00
Jesse McConnell
d832f3dc7e
[maven-release-plugin] prepare release jetty-9.0.3.v20130506
2013-05-06 18:12:55 -05:00
Jan Bartel
8d0cf5e949
Merge remote-tracking branch 'origin/master' into servlet-3.1-api
2013-05-06 14:46:28 +10:00
Greg Wilkins
1155901cbb
fixed test harness to not have asserts in callbacks
2013-05-06 12:49:50 +10:00
Simone Bordet
6a47e4456f
406015 - Query parameters and POST queries.
...
Fixed proxy case where the path is rewritten to be absolute.
2013-05-05 20:33:44 +02:00
Simone Bordet
7d5ac2918e
406015 - Query parameters and POST queries.
...
Reworked the way query parameters are handled, making it more
consistent between request.path(...) and request.param(...).
Removed the hardcoding of passing parameters as body in POSTs.
2013-05-05 18:47:43 +02:00
Simone Bordet
c1d655775f
407135 - Unauthorized response causes retry loop.
...
Fixed by adding a conversation flag to check if the authentication has
been tried, and forward the 401 if the flag is found.
2013-05-03 18:28:30 +02:00
Jan Bartel
0d181d9a75
Merge remote-tracking branch 'origin/master' into servlet-3.1-api
2013-05-03 16:59:39 +10:00
Greg Wilkins
d351e0790a
406617 Spin in Request.recycle
...
Numerous code cleanups with the handling of early closes of requests, specially when the response has already been sent.
2013-05-03 15:15:03 +10:00
Jan Bartel
87d4690462
405533 Implement special role ** for security constraints
2013-04-19 15:53:45 +10:00
Greg Wilkins
a7073d05a6
updated version to 9.1.0-SNAPSHOT
2013-04-19 13:59:18 +10:00
Jan Bartel
3812622365
Merge remote-tracking branch 'origin/jetty-7' into jetty-8
2013-04-18 14:37:38 +10:00
Jesse McConnell
7baaa14ba1
[maven-release-plugin] prepare for next development iteration
2013-04-17 11:46:39 -05:00
Jesse McConnell
e390b54b25
[maven-release-plugin] prepare release jetty-9.0.2.v20140417
2013-04-17 11:46:31 -05:00
Jesse McConnell
0b20467c6f
[maven-release-plugin] prepare for next development iteration
2013-04-15 11:40:45 -05:00
Jesse McConnell
3aa4301711
[maven-release-plugin] prepare release jetty-9.0.2.v20140415
2013-04-15 11:40:37 -05:00
Simone Bordet
70e6655ec5
364921 - FIN WAIT sockets.
...
Interim commit, as things are not working exactly right yet.
2013-04-12 23:17:24 +02:00
Thomas Becker
e1fa106c19
Fix SslBytesServerTest failing on MacOS
2013-04-12 14:13:41 +02:00
Simone Bordet
f57a4a45a6
405551 - InputStreamResponseListener.await returns null when request fails.
...
Moved the success/failure logic to onComplete(), to be notified even if only the request fails.
2013-04-12 13:50:45 +02:00
Greg Wilkins
b8dd8bde14
[maven-release-plugin] prepare for next development iteration
2013-04-08 12:31:34 +10:00
Greg Wilkins
bf3771904b
[maven-release-plugin] prepare release jetty-9.0.1.v20130408
2013-04-08 12:30:59 +10:00
Simone Bordet
120b8c9839
405044 - Query parameters lost for non GET or POST.
2013-04-05 23:20:19 +02:00
Simone Bordet
72219d016b
404610 - Reintroduce ability to disallow TLS renegotiation.
2013-04-04 17:11:01 +02:00
Simone Bordet
b921ed13c0
400689 - Add support for Proxy authentication.
2013-03-29 13:21:27 +01:00
Greg Wilkins
1f9e4f3e5c
Merge remote-tracking branch 'origin/jetty-7' into jetty-8
2013-03-28 14:05:24 +11:00
Greg Wilkins
72162c0342
404517 Close connection if request received after half close
2013-03-28 14:04:24 +11:00
Simone Bordet
968b315926
404204 - Exception from inputstream cause hang or timeout.
...
In case InputStreamContentProvider threw an exception after
the request was committed, the connection was not shutdown
leaving the server waiting for more data and eventually idle timeout.
2013-03-26 09:28:20 +01:00
Simone Bordet
6a8049f126
Simplified connect Promise implementation.
2013-03-25 18:41:57 +01:00
Simone Bordet
07420547f9
Using Closeable instead of AutoCloseable.
2013-03-25 16:36:07 +01:00
Simone Bordet
679eeb7a7c
Test for 404204 - Exception from inputstream cause hang or timeout.
2013-03-25 15:44:18 +01:00
Joakim Erdfelt
8a96cc8c4a
Merge branch 'jetty-7' into jetty-8
2013-03-14 16:54:35 -07:00
Joakim Erdfelt
5084a1430f
Fixing build.
...
+ Bumping jetty-test-helper to 2.0
+ Bumping jetty-version-maven-plugin to 1.0.10
+ Fixing JDK 1.5 build warts
+ Updating Stress use for new "test.stress" property introduced by upgrades
2013-03-14 16:52:52 -07:00
Greg Wilkins
8ffff06d06
402626 Do not required endpoint host checking by default in server and configure in client
2013-03-14 12:47:56 +11:00
Jesse McConnell
acb5919844
[maven-release-plugin] prepare for next development iteration
2013-03-12 09:10:50 -05:00
Jesse McConnell
d6ebdc0a4a
[maven-release-plugin] prepare release jetty-7.6.10.v20130312
2013-03-12 09:10:42 -05:00
Jesse McConnell
0405c8ded6
[maven-release-plugin] prepare for next development iteration
2013-03-12 09:05:25 -05:00
Jesse McConnell
852178cd01
[maven-release-plugin] prepare release jetty-8.1.10.v20130312
2013-03-12 09:05:14 -05:00
Simone Bordet
6be028c040
402397 - InputStreamResponseListener early close inputStream cause hold lock.
2013-03-11 17:37:42 +01:00
Joakim Erdfelt
bbf44a5d32
Merge branch 'release-9'
2013-03-09 06:16:25 -07:00
Joakim Erdfelt
897c35c2cb
[maven-release-plugin] prepare for next development iteration
2013-03-08 11:33:23 -07:00
Joakim Erdfelt
cc6196af50
[maven-release-plugin] prepare release jetty-9.0.0.v20130308
2013-03-08 11:33:15 -07:00
Joakim Erdfelt
7fc38f6c0f
[maven-release-plugin] prepare for next development iteration
2013-03-07 19:14:19 -07:00
Joakim Erdfelt
96d045442f
[maven-release-plugin] prepare release jetty-9.0.0.v20130307
2013-03-07 19:14:11 -07:00
Jesse McConnell
778ee1411b
[maven-release-plugin] prepare for next development iteration
2013-03-06 10:21:46 -06:00
Jesse McConnell
d916078711
[maven-release-plugin] prepare release jetty-9.0.0.v20130306
2013-03-06 10:21:38 -06:00
Simone Bordet
37fd36b31c
402397 - InputStreamResponseListener early close inputStream cause hold lock.
2013-03-06 17:11:16 +01:00
Simone Bordet
7037bca94d
Introduced Request.header(HttpHeader, String) to simplify code.
2013-03-04 17:05:18 +01:00
Simone Bordet
868458f980
402341 - Host with default port causes redirects loop.
...
Removed default port from the Host request header.
Although allowed by RFC 2616, seems that many server chokes it.
2013-03-04 16:33:57 +01:00
Simone Bordet
8d6a4c39df
Better logging for the RedirectProtocolHandler.
2013-03-04 16:33:57 +01:00
Simone Bordet
a1560bea21
402316 - HttpReceiver and null pointer exception.
...
The NPE was caused by (invalid) Set-Cookie headers without value.
A guard has been added to avoid the NPE.
2013-03-04 16:33:57 +01:00
Greg Wilkins
056be85766
less verbose exception
2013-03-04 16:40:18 +11:00
Greg Wilkins
41952ebf1d
402075 Dont allocate the parser trie unless needed
2013-03-01 22:16:54 +11:00
Simone Bordet
0ec0da9b4b
Removed test class brought in by mistake during merge.
2013-02-27 18:31:19 +01:00
Joakim Erdfelt
29b2118870
[maven-release-plugin] prepare for next development iteration
2013-02-26 09:20:45 -07:00
Joakim Erdfelt
2b82b54f6d
[maven-release-plugin] prepare release jetty-9.0.0.RC2
2013-02-26 09:20:45 -07:00
Simone Bordet
a252841561
401777 - InputStreamResponseListener CJK byte (>=128) cause EOF.
...
Fixed by adding & 0xFF when returning bytes as integers.
2013-02-26 15:36:48 +01:00
Simone Bordet
34d343e260
401651 - Abort request if maxRequestsQueuedPerDestination is reached.
2013-02-25 09:24:43 +01:00
Greg Wilkins
2d310ac82e
401642 Less verbose INFOs
2013-02-25 14:42:30 +11:00
Jan Bartel
6a48749f0c
Merge remote-tracking branch 'origin/jetty-7' into jetty-8
...
Conflicts:
jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
2013-02-22 11:32:57 +11:00
Simone Bordet
8418acdae4
401414 - Hostname verification fails.
...
Now using host name instead of host address to create SSLEngines.
2013-02-21 21:08:59 +01:00
Simone Bordet
ecfd7f74e6
376273 - Early EOF because of SSL Protocol Error on https://api-3t.paypal.com/nvp .
...
This was caused by the fact that the other peer closed the raw socket after sending data.
SslConnection was reading the data, but not notifying the application of the data, then
reading the abrupt close, which was causing an exception, ending up in the application
never being notified of the data that arrived.
Now we catch and ignore the exception during SSLEngine.closeInbound(), and we properly
send an alert to the other peer (instead of hard closing the connection as well).
In this way, the application has the chance to read the data and then close the connection.
2013-02-21 17:15:19 +01:00
Simone Bordet
a6510e83ec
Made the test more reliable.
2013-02-20 19:19:06 +01:00
Simone Bordet
3ffbb586db
388103 - Add API for tracking down upload progress.
...
Introduced Request.ContentListener, invoked after the content has been sent.
2013-02-20 17:56:21 +01:00
Simone Bordet
29d779778e
Reduced object creation by caching the conversation response listeners.
2013-02-20 15:42:01 +01:00
Simone Bordet
94a344289b
400849 - Conversation hangs if non-first request fails when queued.
...
Taken the chance to revisit the lifecycle of HttpConversation and HttpExchange
(now they are created as soon as the request is sent, before they were created
when the exchange was associated to the connection).
This change made the conversation listeners available as soon as the request
was sent, so that it was simpler to notify the right listeners also in case of failure
of a non-first request (which fixes the bug).
2013-02-15 18:45:29 +01:00
Simone Bordet
651105c73b
400848 - Redirect fails with non-encoded location URIs.
2013-02-14 21:37:30 +01:00
Simone Bordet
df56bd3c27
400014 - Http async client DNS performance.
...
Introduced SocketAddressResolver to perform DNS resolution in a separate thread,
and updated HttpClient to make use of it.
2013-02-14 21:37:29 +01:00
Simone Bordet
dd96cc50b2
400734 - NPE for redirects with relative location.
...
Now resolving locations against original URL if it is relative.
2013-02-14 21:37:29 +01:00
Simone Bordet
6649b890a7
400434 - Add support for an OutputStream ContentProvider.
2013-02-13 10:25:25 +01:00
Thomas Becker
bb3c1433f4
400184: SslContextFactory change. Disable hostname verification if trustAll is set
2013-02-07 11:50:19 +01:00
Joakim Erdfelt
4dc3ed38c2
[maven-release-plugin] prepare for next development iteration
2013-02-05 10:00:36 -07:00
Joakim Erdfelt
ed24f78498
[maven-release-plugin] prepare release jetty-9.0.0.RC0
2013-02-05 10:00:36 -07:00
Jesse McConnell
e073ceb06d
[maven-release-plugin] prepare for next development iteration
2013-02-05 10:00:36 -07:00
Jesse McConnell
2f2ad287af
[maven-release-plugin] prepare release jetty-9.0.0.RC0
2013-02-05 10:00:35 -07:00
Jesse McConnell
5c58878c3c
[maven-release-plugin] prepare for next development iteration
2013-01-31 11:34:38 -06:00
Jesse McConnell
ebbe37294f
[maven-release-plugin] prepare release jetty-8.1.9.v20130131
2013-01-31 11:34:30 -06:00
Jesse McConnell
a5e1e04af1
[maven-release-plugin] prepare for next development iteration
2013-01-31 08:42:20 -06:00
Jesse McConnell
b7fb18fd65
[maven-release-plugin] prepare release jetty-7.6.9.v20130131
2013-01-31 08:42:12 -06:00
Thomas Becker
6f91d6a590
Merge branch 'spdy_http_proxy'
2013-01-31 15:13:53 +01:00
Thomas Becker
cd30ac104d
interims
2013-01-29 09:17:32 +01:00
Simone Bordet
ec254cd165
399324 - HttpClient does not handle correctly UnresolvedAddressException.
2013-01-28 23:45:44 +01:00
Simone Bordet
40621f0300
Added test that connects to an external website that exposes a non-HTTP protocol such as SSH.
2013-01-28 23:45:44 +01:00
Simone Bordet
9ba1069383
399319 - Request.getURI() may return negative ports.
2013-01-28 23:45:44 +01:00
Simone Bordet
7c53c317ae
Fixed DeferredContentProvider race condition.
...
HttpSender was setting the listener for asynchronous content before its own state was properly setup.
This was causing race conditions, where a thread could notify HttpSender and find null data members causing later NPEs.
Now the listener is set after the state is setup, removing the race condition.
2013-01-28 17:32:22 +01:00
Thomas Becker
80b44f9940
interims
2013-01-28 15:27:03 +01:00
Thomas Becker
1f6d058b20
intermittent commit
2013-01-28 12:18:30 +01:00
Jan Bartel
ae644581dd
Port jetty-client IdleTimeoutTest to jetty-9
2013-01-25 14:33:09 +11:00
Greg Wilkins
7fd04a186f
cleanup after merge
2013-01-25 11:47:47 +11:00
Greg Wilkins
ff350c3740
Merge remote-tracking branch 'origin/jetty-8'
...
Conflicts:
jetty-client/src/main/java/org/eclipse/jetty/client/BlockingHttpConnection.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java
jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/AbstractCompressedStream.java
jetty-servlets/src/test/java/org/eclipse/jetty/servlets/gzip/GzipTester.java
2013-01-25 11:46:03 +11:00
Simone Bordet
b2f3852fb3
398872 - SslConnection should not be notified of idle timeouts. First solution.
2013-01-24 10:29:27 +01:00
Joakim Erdfelt
b6d551675b
Merge branch 'jetty-7' into jetty-8
2013-01-23 13:58:34 -07:00
Jan Bartel
92af54c3fc
Make IdleTimeoutTest jdk1.5 compliant
2013-01-22 08:58:35 +11:00
Jan Bartel
fe48239b34
Merge remote-tracking branch 'origin/jetty-7' into jetty-8
2013-01-21 16:54:06 +11:00
Jan Bartel
91a94f8213
362226 HttpConnection "wait" call causes thread resource exhaustion
2013-01-21 16:43:57 +11:00
Simone Bordet
44e64aa309
Removed TimedResponseListener, since the timeout mechanism is now
...
provided by Request.timeout(...) for both blocking and asynchronous send().
2013-01-17 16:15:34 +01:00
Simone Bordet
b3f6739d51
Completed the implementation of DeferredContentProvider.
...
DeferredContentProvider is used to provide content after
Request.send(...) is called, a use case that is useful
in SPDY-to-HTTP proxies, where content arrives in SPDY
data frames at later times than the headers.
2013-01-17 12:53:39 +01:00
Simone Bordet
386fafe790
Avoid copying sensitive headers when copying a Request.
2013-01-17 12:53:39 +01:00
Thomas Becker
8c3edce565
use existing keystore
2013-01-17 12:51:07 +01:00
Thomas Becker
c8f4332c34
add missing keystore
2013-01-17 12:39:46 +01:00
Thomas Becker
9ebea3938d
393385: Make hostname verification configurable in SslContextFactory and enable it by default (See http://www.ietf.org/rfc/rfc2818.txt section 3.1)
2013-01-17 10:28:15 +01:00
Jesse McConnell
e1c516c7d1
merge from jetty-8 and update license blocks.
2013-01-11 17:04:53 -06:00
Jesse McConnell
863944873d
merge from 7 and update license blocks for 2013
2013-01-11 15:01:16 -06:00
Jesse McConnell
a4dbb5823c
update license blocks for 2013
2013-01-11 14:57:51 -06:00
Greg Wilkins
27c31fb403
jetty-9 organised imports. Cleaned up some TODOs
2013-01-11 16:37:32 +11:00