Simone Bordet
2608af8f0d
Merged branch 'origin/master' into 'jetty-http2'.
2014-06-26 11:54:50 +02:00
Simone Bordet
299d390dae
Removed unnecessary reset of fields from onCompleteSuccess() and
...
onCompleteFailure().
They are not needed because these are methods that move the
IteratingCallback in a final state, so it won't be used anymore. And
if it is reset(), then those fields are already properly reset there.
2014-06-26 10:48:38 +02:00
Simone Bordet
4af586770e
Cannot throw exceptions from reset(), must fail the callback instead.
2014-06-26 10:46:43 +02:00
Simone Bordet
2e57fb6fad
Removed unnecessary volatile declaration.
...
Calls to reset() are always followed by iterate() that provides a memory barrier by changing its state, which is an AtomicReference.
2014-06-26 10:45:00 +02:00
Simone Bordet
f2f19ee3ba
Improved changes introduced by a746d78
.
2014-06-26 10:08:13 +02:00
Simone Bordet
02271b29f5
Removed Action.FAILED, since it was never used and cluttered the
...
implementation. Subclasses should just either throw an exception or
directly call failed(Throwable).
2014-06-26 09:41:15 +02:00
Joakim Erdfelt
39079d4e84
Tweaking for windows test conditions
2014-06-25 15:29:18 -07:00
Joakim Erdfelt
728127dbb8
Marking surefie runMode to hopefully trigger more order dependent test failures
2014-06-25 15:29:18 -07:00
Greg Wilkins
a746d78951
438079 435322 Fixed Iterating Callback fail handling and removed per send instance
2014-06-25 19:20:03 +02:00
Joakim Erdfelt
45a0690ba7
More PathResource updates.
...
+ Fixing up PathResource.list() per recommendations by @ash2k (on github)
+ Adding PathResource.getAlias() to conform to expectations
2014-06-25 10:07:41 -07:00
Simone Bordet
e63ceabafe
Merged branch 'origin/master' into 'jetty-http2'.
2014-06-25 17:29:36 +02:00
Simone Bordet
7b7c592fc8
Improved logging.
2014-06-25 17:26:04 +02:00
Joakim Erdfelt
bad3165d8a
Fixing jdk 8 test failure
2014-06-25 08:24:24 -07:00
Joakim Erdfelt
2a943887b6
437800 - URLs with single quote and spaces return 404
...
+ Expanded FileResourceTest
+ Added PathResource + PathResourceTest to show java.nio.file
alternative approach (currently POC)
2014-06-25 06:53:22 -07:00
Simone Bordet
4c2c7e8352
Guarded calls to LOG.debug() with if (LOG.isDebugEnabled()) to reduce allocation of varargs Object[].
2014-06-25 12:37:05 +02:00
Simone Bordet
66f3913527
Merged branch 'origin/master' into 'jetty-http2'.
2014-06-25 12:34:19 +02:00
Simone Bordet
3ff4195dbc
Guarded calls to LOG.debug() with if (LOG.isDebugEnabled()) to reduce allocation of varargs Object[].
2014-06-25 12:26:45 +02:00
Greg Wilkins
f93a409589
Merge remote-tracking branch 'origin/master' into jetty-http2
2014-06-24 17:33:51 +02:00
Simone Bordet
02454ec8de
Improved handling of errors for streams.
2014-06-24 13:52:03 +02:00
Simone Bordet
05616d1e9d
Cosmetics.
2014-06-24 13:50:52 +02:00
Simone Bordet
e94b8745f2
PING frames are now processed as soon as possible.
2014-06-24 12:35:06 +02:00
Simone Bordet
7625844dff
Closing the connection if frames that carry headers don't have the
...
END_HEADERS flag.
2014-06-24 12:35:06 +02:00
Simone Bordet
8016fb6d0f
Strengthened the checks to avoid to exceed the max frame length.
2014-06-24 12:35:06 +02:00
Simone Bordet
f09b81835e
Improved handling of RST_STREAM frames.
2014-06-24 12:35:06 +02:00
Greg Wilkins
28ad689bcb
437996 avoid async status race by not setting 200 on handled
2014-06-24 12:27:03 +02:00
Greg Wilkins
31ce7cabda
437800 Improved alias handling of different encodings
2014-06-24 11:32:56 +02:00
Jan Bartel
fead772b64
437706 ServletTester calls LocalConnector method with hardcoded timeout
2014-06-24 10:43:15 +02:00
Simone Bordet
81f18cc757
Merged branch 'origin/master' into 'jetty-http2'.
2014-06-23 22:06:53 +02:00
Simone Bordet
86b0d77338
Improved the server transport implementation, and fixed a case where
...
the end stream flag was erroneously sent with more content to send.
2014-06-23 21:23:17 +02:00
Simone Bordet
72e0d800ac
Made ALPN API dependency provided.
2014-06-23 21:23:17 +02:00
Joakim Erdfelt
e48cdb519b
437395 - Start / Properties in template sections should be default applied for enabled modules
...
+ Fixing typo in enableModule()
+ Fixing concurrent modification exception during walk of parents in
enableModule()
2014-06-23 21:23:17 +02:00
Simone Bordet
9d44c32c93
Added ALPN debug configuration.
2014-06-23 21:23:17 +02:00
Joakim Erdfelt
d92f6c6fd3
437395 - Start / Properties in template sections should be default applied for enabled modules
...
+ Fixing typo in enableModule()
+ Fixing concurrent modification exception during walk of parents in
enableModule()
2014-06-19 10:18:51 -07:00
Simone Bordet
1fadf41464
Added ALPN debug configuration.
2014-06-19 16:59:02 +02:00
Simone Bordet
59deebeb9c
Merge remote-tracking branch 'origin/master' into jetty-http2
2014-06-19 16:26:58 +02:00
Greg Wilkins
0938e1701a
Merge branch 'jetty-http2' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-http2
2014-06-19 15:32:49 +02:00
Greg Wilkins
c0629b6e04
encoding debug
2014-06-19 15:32:27 +02:00
Joakim Erdfelt
605f32b022
Adding extra tests for bad startup configurations
2014-06-18 10:32:38 -07:00
Simone Bordet
4211653095
Fixed tests.
2014-06-18 16:09:52 +02:00
Simone Bordet
14dba64164
Fixed handling of zero-length hpacked headers.
2014-06-18 16:09:52 +02:00
Greg Wilkins
9acf971cc1
cache path URI in table
2014-06-18 15:26:33 +02:00
Greg Wilkins
beb5918c3c
fixed client
2014-06-18 13:59:02 +02:00
Simone Bordet
9d9260e634
Implemented idle timeout functionality for streams.
2014-06-18 13:57:37 +02:00
Simone Bordet
4dca6a71d3
Update Parser constructor to take additional parameters needed by
...
HpackDecoder.
2014-06-18 11:40:11 +02:00
Simone Bordet
9c95e29088
Implemented idle timeout functionality for both client and server.
2014-06-18 11:18:48 +02:00
Simone Bordet
690cd01933
Made sure that exceptions thrown by the generator are caught and the
...
connection closed.
2014-06-18 11:18:48 +02:00
Simone Bordet
c0e0b802d9
Made sure that exceptions thrown by the parser are caught and the
...
connection closed.
2014-06-18 11:18:48 +02:00
Simone Bordet
aef2f42b5b
FastCGI applications needs the Host header, which is missing in HTTP/2.
2014-06-18 11:18:48 +02:00
Greg Wilkins
30affa57c7
HpackDecoder implements 413 limit
2014-06-18 11:11:23 +02:00
Greg Wilkins
140e7ed0c5
encoder headers as lowercase
2014-06-18 10:22:23 +02:00