Simone Bordet
7e7b126847
Issue #362 (Very slow page load and missing resources when using HTTP/2 with Jetty 9.3.7)
...
The issue happened when the selector was both read ready and write
ready. In that case fillable() was called before completeWrite(),
causing the reader thread to read, parse, call the application which
performed a blocking write, thus never returning to call
completeWrite().
Inverting the calls (first completeWrite() then fillable()) solves
the issue because completeWrite() never calls application code.
2016-03-01 22:08:02 +01:00
Simone Bordet
a8bbe8749f
Issue #353 (Jetty Client doesn't forward authentication headers with redirects when using proxy)
...
Added test case, but code seems already good.
2016-03-01 16:31:40 +01:00
Simone Bordet
24a203f976
Fixed compilation issue.
2016-03-01 15:58:32 +01:00
Simone Bordet
04bb4af12c
Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'.
2016-03-01 15:21:19 +01:00
Simone Bordet
d53766f6fe
Issue #365 (Potential connection leakage in case of aborted request)
...
Fixed by releasing the connection that will not be used to the pool.
2016-03-01 15:19:02 +01:00
Joakim Erdfelt
bf4a634d0b
Merge branch 'release-9.3.8' into jetty-9.3.x
2016-02-29 11:45:29 -07:00
Simone Bordet
cec3694355
Consistently using BufferUtil, especially clearToFill() and
...
flipToFlush().
2016-02-29 16:31:38 +01:00
Simone Bordet
b8fcc5112f
Issue #372 (Data race in HttpReceiverOverHTTP2)
...
Fixed implementations of onData() to properly complete the callback
and to copy the data if they use it asynchronously.
2016-02-29 14:39:27 +01:00
Simone Bordet
aa6de825b7
Issue #372 (Data race in HttpReceiverOverHTTP2)
...
Fixed by copying the buffer passed to onData().
2016-02-29 14:02:17 +01:00
Simone Bordet
aadfae936c
Issue #366 (Avoid HTTP2Flusher reentrancy).
...
Made HTTP2Flusher termination to be atomic and non-reentrant.
2016-02-29 11:32:39 +01:00
Joakim Erdfelt
aed05a1e36
Merge branch 'jetty-9.2.x' into jetty-9.3.x
2016-02-26 08:22:12 -07:00
Jesse McConnell
1a1a8dd806
clean javadoc
2016-02-26 08:11:59 -07:00
Jesse McConnell
c74b0c23e9
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 08:11:27 -07:00
Jesse McConnell
b08f177d47
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 08:09:12 -07:00
Jesse McConnell
931f67baab
Update index.html
2016-02-26 08:08:17 -07:00
Jesse McConnell
7fab31e309
Update index.html
2016-02-26 08:08:16 -07:00
Jesse McConnell
e46a19bde0
Update index.html
2016-02-26 08:08:16 -07:00
Jesse McConnell
aaba9eca42
Update index.html
2016-02-26 08:08:16 -07:00
Jesse McConnell
b62b2d3426
Update pom.xml
2016-02-26 08:08:12 -07:00
Jesse McConnell
019e9174b9
Update pom.xml
2016-02-26 08:07:20 -07:00
Jesse McConnell
850707e965
Update ExampleServerXml.java
2016-02-26 08:07:20 -07:00
Jesse McConnell
54e92d88c4
Update FileServerXml.java
2016-02-26 08:07:19 -07:00
Jesse McConnell
fc73be1d31
clean javadoc
2016-02-26 08:09:15 -06:00
Jesse McConnell
ce5a3b11d6
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 08:03:33 -06:00
Simone Bordet
50422a1a1f
Replaced usages of Random with ThreadLocalRandom in concurrent code.
2016-02-26 10:29:58 +01:00
Joakim Erdfelt
9111aeb690
Updating to version 9.3.8-SNAPSHOT
2016-02-25 11:06:14 -07:00
Joakim Erdfelt
bee564c7d9
Updating to version 9.3.8.RC0
2016-02-25 10:28:00 -07:00
JACQUES Francois
1f75ab178c
Fetch user roles after a successful forced binded ldap login.
...
Signed-off-by: JACQUES Francois <fjacques@murex.com>
2016-02-25 10:35:53 +01:00
Simone Bordet
83baed0bfe
Reformatted code.
2016-02-24 15:06:08 +01:00
Greg Wilkins
7b6c1af4a7
Removed extra ByteBuffer duplicate
2016-02-24 13:47:35 +01:00
Greg Wilkins
1eeecdaee5
Issue #355 Improve close behaviour
...
Inverted the logic of the handling of exceptions thrown in CommitCallback.
Now only if a BadMessageException is throw do we attempt to write a 500 response.
All other exceptions just abort the connection
2016-02-24 13:36:06 +01:00
Greg Wilkins
c3a54e9d0b
fixed javadoc
2016-02-23 18:23:23 +01:00
Greg Wilkins
3c671aa8b6
Issue #346 HttpParser RFC2616 Compliance mode
...
Reimplmented HTTP/0.9 support in RFC2616 compliance mode
2016-02-23 17:33:53 +01:00
Simone Bordet
76689dd303
Issue #354 (Spin loop in case of exception thrown during accept()).
...
Fixed by introducing an overridable method that performs an arbitrary
sleep to avoid the spin loop. Subclasses may customize.
2016-02-23 11:37:08 +01:00
Jan Bartel
ef6d0194b9
Issue #352 Integrate session idling for MongoSessionManager
2016-02-22 15:11:54 +01:00
Simone Bordet
89ead7561e
Issue #285 (PathContentProvider - Use of Direct buffers without pooling).
...
Introduced PathContentProvider.setByteBufferPool() so that a buffer
pool can be set (for example from HttpClient.getByteBufferPool()).
If present, PathContentProvider will use it.
2016-02-22 11:33:23 +01:00
Simone Bordet
a57f8d0517
Updated the certificate to make the test pass with the latest JDKs.
2016-02-19 16:51:23 +01:00
Simone Bordet
2e62bca2ea
Issue #251 (Consider removing SSLEngine.beginHandshake() calls).
...
Removed SSLEngine.beginHandshake() calls.
2016-02-19 16:33:55 +01:00
Simone Bordet
e09396db4e
Issue #298 (qtp threads spin-locked in MBeanContainer.beanAdded).
...
Replaced WeakHashMap with ConcurrentMap.
The "weak" features of WHM were not used anyway.
2016-02-19 16:32:44 +01:00
Simone Bordet
df32714e8d
Issue #344 (init script does not properly display status of a non running service).
2016-02-19 12:36:50 +01:00
Simone Bordet
1d04b9ece0
Issue #347 (Avoid sending request using a connection that is idle timing out).
...
Can't make atomic decisions using AtomicInteger _and_ another field.
Now using synchronized.
2016-02-19 12:22:13 +01:00
Greg Wilkins
27585d923c
Issue #346 HttpParser RFC2616 Compliance mode
...
removed System Property for compliance
2016-02-19 12:14:06 +01:00
Greg Wilkins
55eb54799f
Issue #346 HttpParser RFC2616 Compliance mode
...
Added HttpParser.Compliance field to HttpConnectionFactory
2016-02-19 11:41:07 +01:00
Simone Bordet
48c4e08b94
Issue #347 (Avoid sending request using a connection that is idle timing out).
...
Fixed by improving the guard with a timestamp, and checking that the
time elapsed from the last timestamp is enough to prove it is a real
idle timeout.
2016-02-19 11:36:06 +01:00
Simone Bordet
1cce6fd69f
Improved logging.
2016-02-19 11:36:06 +01:00
Simone Bordet
519734bec4
Fixed usage of volatile reference.
2016-02-19 11:36:06 +01:00
Simone Bordet
55817a212f
Improved toString().
2016-02-19 11:36:06 +01:00
Greg Wilkins
72edbe5cea
Issue #346 HttpParser RFC2616 Compliance mode
...
Added RFC2616 compliance mode that allows wrapped headers
2016-02-19 11:22:52 +01:00
Joakim Erdfelt
4a6602d007
Issue #342 - Reintroducing Request to logExtended
...
+ the old/bad AbstractNCSARequestLog.logExtended is now
deprecated
+ the corrected logExtended is the appropriate one to use
2016-02-18 11:31:55 -07:00
Greg Wilkins
5ddb176f6b
Issue #298 spin-locked in MBeanContainer
...
protected the _beans map with a Lock
2016-02-17 16:07:31 +01:00