Simone Bordet
4606c773b1
Issue #2065 - Backport #347 to Jetty 9.2.x.
...
Fixed the mistake of resetting idleTimeoutStamp rather than
idleTimeoutGuard.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-05 10:47:39 +01:00
Simone Bordet
48c77b8608
Fixes #2088 - Recycle HTTP/2 channels on the client. ( #2089 )
...
Removed the distinction between pushed and non-pushed channels; only
non-pushed channels are released and recycled if they're not failed.
Properly resetting HttpReceiverOverHTTP2.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-04 07:09:08 -08:00
Greg Wilkins
41050cd8a4
Issue #2081 No idle timeout exception when dispatch is delayed ( #2083 )
...
Issue #2081 No idle timeout exception when dispatch is delayed
* Delegate the readtimeout handling to HttpChannel so that a delayed dispatch can be ended.
* Added unit test for delayed dispatch idle
* Now using HttpInput.onIdleTimeout() to fail the HttpInput, and then dispatching the request in case it has not been dispatched yet. This ensure consistent behavior independently of the value of HttpConfiguration.delayDispatchUntilContent.
* Fixed for both HTTP/1.1 and HTTP/2.
* Added tests for non-blocking reads.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-04 13:26:31 +01:00
Greg Wilkins
12647f51e7
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-12-27 16:04:16 +01:00
Greg Wilkins
22beb1d02a
Updated tests to use _LEGACY modes
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-27 14:16:23 +01:00
Greg Wilkins
7e516e29fb
pass existing compliance tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-24 18:00:03 +01:00
Greg Wilkins
d8dead35ae
Issue #2022 Fine Gramed Compliance Modes
...
Added HttpComplianceSection and an EnumSet within HttpCompliance
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-24 14:41:18 +01:00
Greg Wilkins
c5fc35fa05
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2017-12-23 11:12:48 +01:00
Simone Bordet
005ae95bea
Fixes #1949 - Client-side problems with digest authentication. ( #1991 )
...
Introduced ContentProvider.isReproducible() to detect whether the
request content can be provided more than once, and modified
ContentProvider implementation accordingly.
Modified AuthenticationProtocolHandler to not send an authenticated
request if the content is not reproducible.
Modified AuthenticationProtocolHandler to tolerate request failures.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-12-21 02:34:39 -08:00
WalkerWatch
05c3413907
Merge branch 'jetty-9.4.x'
2017-12-19 10:04:28 -05:00
Joakim Erdfelt
2dd970b055
Updating to version 9.2.24-SNAPSHOT
2017-12-18 10:43:47 -06:00
Joakim Erdfelt
cdbe733684
Updating to version 9.2.23.v20171218
2017-12-18 09:06:48 -06:00
Simone Bordet
b68fbc4cfb
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-12-16 23:36:53 +01:00
Simone Bordet
37388ef105
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2017-12-16 23:28:05 +01:00
Simone Bordet
eaa4c70cfc
Issue #2065 - Backport #347 to Jetty 9.2.x.
...
Implemented as integer guard + timestamp.
The timestamp is not enough to guard against long times spent sending
(and/or in application callbacks during sends).
2017-12-16 22:25:59 +01:00
Simone Bordet
ce4fad3deb
Fixes #2065 - Backport #347 to Jetty 9.2.x.
2017-12-15 17:48:47 +01:00
Greg Wilkins
c6c5a3b890
Merge branch 'issue-2022' of https://github.com/Baqend/jetty.project into jetty-9.4.x-2022-FineGrainedComplianceModes
2017-12-15 16:19:14 +01:00
fb
7ee8bb82c6
Same code style fixes and remove unnecessary code reformatting
...
Signed-off-by: fb <fb@baqend.com>
2017-12-15 15:23:17 +01:00
fb
a324a5ad77
Implement weak http header parsing and make the compliance mode configurable in the client
...
Signed-off-by: fb <fb@baqend.com>
2017-12-15 15:13:48 +01:00
fb
b76240e678
Fixes #2022 - Ignore invalid chars in http header names, when the compliance mode is not RFC7230
...
Signed-off-by: fb <fb@baqend.com>
2017-12-15 15:12:34 +01:00
WalkerWatch
c5f7e2a523
Merge branch 'jetty-9.4.x'
2017-12-14 13:38:27 -05:00
Simone Bordet
d3db89d7e3
Fixes #2019 - Expose HttpClientTransport in JMX.
...
Added missing @ManagedObject annotation to AbstractConnectorHttpClientTransport.
Also exported to JMX the "multiplexed" attribute for the FCGI transport
and the "useALPN" attribute for the HTTP/2 transport.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-12-14 12:28:46 +01:00
Simone Bordet
ba5ed4c6ce
Issue #2050 - Clarify ObjectMBean getObject[Name|Context]Basis() methods.
...
Clarified the role of the HttpClient name with respect to JMX.
Improved test case.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-12-14 11:24:43 +01:00
Simone Bordet
f2bf3d63bc
Fixes #2020 - Introduce a name for HttpClient
instances.
...
Added HttpClientMBean, and overridden getObjectContextBasis() so that
the HttpClient name is inherited by children components such as the
HttpClientTransport, the ThreadPool, etc.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-12-14 11:24:43 +01:00
Joakim Erdfelt
ff53002fac
Updating to version 9.4.9-SNAPSHOT
2017-11-21 13:11:31 -07:00
Joakim Erdfelt
82b8fb23f7
Updating to version 9.4.8.v20171121
2017-11-21 12:33:52 -07:00
Greg Wilkins
bb0f06fecc
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-11-14 18:15:55 +01:00
Greg Wilkins
c66bacba02
Issue #922 ( #1965 ) bytesIn/Out stats
...
Ensure -1 fill is not appended to bytesIn counts
Don't include discarded bytes from head responses in counts
refactored gather writes in HttpConnection to be clearer and removed
redundant buffer checks
2017-11-14 09:12:00 +01:00
Olivier Lamy
786f128808
implements connection.getBytes[In|Out] for http transport #922 ( #1965 )
...
* implements connection.getBytes[In|Out] for http transport, #922
Signed-off-by: olivier lamy <olamy@webtide.com>
* use LongAdder rather than AtomicLong
Signed-off-by: olivier lamy <olamy@webtide.com>
* changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
* changes by Greg review
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-14 08:41:47 +01:00
Jesse McConnell
a72eb0001d
Updating to version 9.3.23-SNAPSHOT
2017-10-30 15:39:57 -05:00
Jesse McConnell
705048cc49
Updating to version 9.3.22.v20171030
2017-10-30 15:16:29 -05:00
Simone Bordet
108d56707b
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-30 12:58:48 +01:00
Simone Bordet
333c22d670
Issue #1924 - ManagedSelector livelock.
...
* Actually using the MAX_ACTION_PERIOD value rather than a harcoded one.
* Waking up the selector outside the sync block.
2017-10-30 00:36:01 +01:00
Greg Wilkins
4fa2140d17
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-10-29 08:21:22 +11:00
Greg Wilkins
ab849e8cc5
Issue #1920 - Connect Timeouts with NonBlocking CreateEndPoint.
...
Added a LiveLock (BusyBlocking) test.
Modified ManagedSelector to fair share between actions and selecting
2017-10-28 14:55:40 +11:00
Simone Bordet
52a585a2ea
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-25 11:23:00 +02:00
Simone Bordet
76e744979b
Issue #1893 - Jetty HttpClient Connection TTL.
...
Removed test for TTL functionality.
Added test for the round robin behavior.
2017-10-25 11:22:46 +02:00
Simone Bordet
2cd04a1b17
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-25 11:03:17 +02:00
Simone Bordet
6e8242d1a4
Issue #1893 - Jetty HttpClient Connection TTL.
...
Removed the functionality, not needed anymore.
2017-10-25 11:02:33 +02:00
Simone Bordet
50d3aa9333
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-23 17:37:54 +02:00
Simone Bordet
ddf074d78f
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-10-23 17:37:23 +02:00
Simone Bordet
4d8ab1828e
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2017-10-23 17:36:39 +02:00
Simone Bordet
e449387158
Fixes #1914 - jetty client fails to parse response with RFC2045 conformant Content-Type: charset="utf-8".
2017-10-23 17:36:11 +02:00
Simone Bordet
01a5415796
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-19 17:48:10 +02:00
Simone Bordet
0d3827d882
Fixes #1893 - Jetty HttpClient Connection TTL.
...
Implemented live timeout on RoundRobinConnectionPool.
2017-10-19 17:47:35 +02:00
Simone Bordet
d2fc88839c
Added/fixed @ManagedObject annotation.
2017-10-19 17:47:35 +02:00
Simone Bordet
0ba9c56f85
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-16 18:24:27 +02:00
Simone Bordet
850e70f27c
Fixes #1897 - Introduce a round-robin connection pool for HttpClient.
2017-10-16 18:21:36 +02:00
Simone Bordet
17df0bf930
Merged branch 'jetty-9.4.x' into 'master'.
2017-10-11 17:39:45 +02:00
Simone Bordet
91c11f5a64
Fixes #1888 - Implement cookie matching on Path attribute.
...
Implemented path matching following RFC 6265.
2017-10-11 17:39:06 +02:00