12317 Commits

Author SHA1 Message Date
Greg Wilkins
13696b54f2 Issue #890 Review MappedByteBuffer
Moved newByteBuffer to a default method on ByteBufferPool
preallocate newBuffer function
clear buckets
2016-09-01 08:26:50 +10:00
Simone Bordet
e0c83757aa Fixes #889 - ConstantThrowable.name can be removed. 2016-08-31 12:25:19 +02:00
Greg Wilkins
f856107301 Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-08-31 19:05:57 +10:00
Greg Wilkins
0155ae761c Issue #880 Improve IPv6 support
For #880 added the HostPort class, which was used to fix #878, #879, #884 and #886
2016-08-31 16:46:11 +10:00
Jan Bartel
34d465555b Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-08-31 16:23:06 +10:00
Jan Bartel
c07d842f06 Merge pull request #869 from grgrzybek/jetty-9.2.x-868
Issue #868 - Use static Throwables without backtrace/stackTrace
2016-08-31 15:22:59 +10:00
Jesse McConnell
d85de7d91f Merge pull request #861 from WalkerWatch/issues/860
Resolves #860
2016-08-26 14:34:06 -05:00
Grzegorz Grzybek
b70f0fdf15 Issue #868 - Use static Throwables without backtrace/stackTrace
Signed-off-by: Grzegorz Grzybek <gr.grzybek@gmail.com>
2016-08-26 10:44:23 +02:00
Joakim Erdfelt
4c5d0319b1 Minor code cleanup
+ Changed variable from rfc7230 to rfc7239
+ Javadoc updates
2016-08-25 11:40:51 -07:00
WalkerWatch
635cdc628d Resolves #860
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-08-22 11:47:18 -04:00
Joakim Erdfelt
d3f725637c Updating docbkx-maven-plugin version 2016-08-19 13:41:41 -07:00
Simone Bordet
b316148625 Fixed test failure. 2016-08-19 01:44:14 +02:00
Joakim Erdfelt
24b4aeb147 Fixes #854 - other testcase triggers ISE on .destroy() -> .start() as well 2016-08-18 14:30:11 -07:00
Jesse McConnell
2b9a4ead3d Resolve #725 add page for reporting security issues 2016-08-18 13:53:08 -05:00
Jesse McConnell
81549aa6dc Issue #732 add documentation to distribution demo-base 2016-08-18 10:06:15 -05:00
Jesse McConnell
10a86e73fc Merge pull request #852 from WalkerWatch/issues/843
Resolves #843
2016-08-18 10:05:54 -05:00
Simone Bordet
10f994a0a2 Fixes #854 - If container.destroy() is called, calling container.start() again should throw an IllegalStateException. 2016-08-18 15:47:06 +02:00
Simone Bordet
7a7d5e2f1e Code cleanup. 2016-08-18 15:47:06 +02:00
Greg Wilkins
9c9da42129 Fixes #851 - MBeanContainer no longer unregisters MBeans when "stopped".
MBeanContainer now implements Destroyable, so calling Server.destroy()
unregisters the MBeans.
2016-08-18 15:58:25 +10:00
Simone Bordet
bef4b56fc0 Fixes #806 - Jetty HttpClient authentication - missing any realm option.
Introduced Authentication.ANY_REALM constant to use when specifying
the realm in concrete subclasses, so that the realm match is skipped.
2016-08-17 22:10:59 +02:00
Simone Bordet
64644183a8 Renamed test class. 2016-08-17 21:40:23 +02:00
Simone Bordet
00a065b064 Fixes #855 - JMXify MBeanContainer. 2016-08-17 21:28:19 +02:00
Simone Bordet
fe038c5a87 Fixes #851 - MBeanContainer no longer unregisters MBeans when "stopped".
MBeanContainer now implements Destroyable, so calling Server.destroy()
unregisters the MBeans.
2016-08-17 21:28:19 +02:00
WalkerWatch
1635bc6b12 Resolves #843
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-08-17 11:00:45 -04:00
Joakim Erdfelt
988e34489b Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-08-16 06:29:58 -07:00
Joakim Erdfelt
526d1415a4 Ignoring flappy test 2016-08-16 06:29:41 -07:00
Joakim Erdfelt
4527ba1801 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-08-15 15:22:53 -07:00
Joakim Erdfelt
36ac693385 Some Jenkinsfile cleanup 2016-08-15 15:18:18 -07:00
Joakim Erdfelt
78544b999b Adding email on stage failure 2016-08-15 13:37:38 -07:00
Greg Wilkins
94c1424029 Issue #841 support reset in buffering interceptors
Added resetBuffers to the output interceptor.
2016-08-15 19:38:18 +10:00
Simone Bordet
11bc5cce66 Fixes #839 - Test Failure: MaxConcurrentStreamsTest.testOneConcurrentStream().
Fixed race condition where the prime request response was arriving to
the client before the server had finished to clean up and remove the
prime stream. Subsequent client requests were rejected because the
prime stream was still "alive".
2016-08-14 23:25:03 +02:00
Simone Bordet
efc5265fe5 Improved javadocs. 2016-08-14 12:17:35 +02:00
Simone Bordet
ea20a5f2ef Fixes #836 - Test Failure: HttpClientTransportOverHTTP2Test.testLastStreamId()
Fixed race condition: the completion was happening before the stream
promise for the request was succeeded.
2016-08-12 17:10:43 +02:00
Simone Bordet
9f9e9ecaf9 Changes for Issue #824 (#825)
* Issue #824 - Implement notifications of asynchronous error conditions for HTTP/2.

Introduced new method HttpChannelState.asyncError() to be called in
case of asynchronous errors, i.e. those errors that do not happen in
the HttpChannel.handle() loop.

Implemented HTTP/2 callbacks to call HttpChannelState.asyncError()
and plug in the existing error handling mechanism.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>

* Issue #824 - Implement notifications of asynchronous error conditions for HTTP/2.

Improved implementation to ignore idle timeouts for streams and
session in case that requests are being handled, matching the HTTP/1.1
behavior.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2016-08-12 11:02:52 +02:00
Greg Wilkins
46cdeca543 Use dynamic ports for OSGi tests 2016-08-12 14:06:14 +10:00
Jan Bartel
56aaf6d1be Issue #700 add osgi ServiceLoader headers to jetty-http-spi 2016-08-12 11:46:04 +10:00
Greg Wilkins
5fefd5d8bd Issue #185 Implement RFC 7239
Improved test harness
Added more configurability
Fixed SSL session and certificate bugs
2016-08-12 11:39:36 +10:00
Greg Wilkins
5c9a637d4f UnitTest #833 2016-08-12 10:29:38 +10:00
Simone Bordet
7041e5102d Fixes #827 - HTTPClient fails connecting to HTTPS host through an HTTP proxy w/authentication.
Using https scheme in CONNECT request if the proxy is secure.
A Proxy must not match its own address.
Resolved correctly request URI in case of CONNECT requests.
2016-08-11 19:25:41 +02:00
Greg Wilkins
b45af1a3c9 Issue #185 Implement RFC 7239
Also handle legacy Https headers for #834
2016-08-11 18:56:51 +10:00
Jan Bartel
c033a3734b Issue #783
Add loggable exception; remove unused code
2016-08-11 08:15:45 +10:00
Jan Bartel
5ef8d50bfb Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-08-11 07:52:40 +10:00
Jan Bartel
4b8e4707db Issue #832 2016-08-11 07:51:10 +10:00
Simone Bordet
2eec2251ee Fixes #827 - HTTPClient fails connecting to HTTPS host through an HTTP proxy w/authentication.
Only successful (200) responses to a CONNECT behave like HEAD and
implicitly have no body.
2016-08-10 18:36:27 +02:00
Jesse McConnell
1bff5c0d6a Merge pull request #823 from WalkerWatch/docupdates/Cleanup
Doc flow cleanup.
2016-08-10 09:58:39 -05:00
Jesse McConnell
ffae6fe2a4 Merge pull request #818 from WalkerWatch/docupdates/JettyHandlers
Updates for Jetty Handlers.
2016-08-10 09:57:52 -05:00
Jan Bartel
5aac143523 Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-08-10 17:08:42 +10:00
Jan Bartel
0f7cb5e815 Issue #830 2016-08-10 16:52:31 +10:00
Greg Wilkins
f493e0f528 remove println 2016-08-10 16:26:43 +10:00
Greg Wilkins
cc8c3590c0 Issue #786 Buffering Response Handler
Fixed commit of empty buffers
2016-08-10 16:01:56 +10:00