4119 Commits

Author SHA1 Message Date
Simone Bordet
b4e45d1bb7 Added method to allow to clear the async connection factories, for better configurability. 2012-06-08 12:29:39 +02:00
Simone Bordet
8894cdc31d Reviewed handling of the last stream id.
Now the last stream id is updated when a SYN is received, as the spec states.
2012-06-08 10:13:18 +02:00
Simone Bordet
7f39b8b7a4 Refactored atomic updates of max and min into utility class Atomics. 2012-06-08 09:59:36 +02:00
Jan Bartel
f94f9a066a Further tweak to issue 381712 to ensure method of finding system classpath is extensible to cope with other environments (eg ant etc). Also pass in parent loader to Loader.getClassPath() method. 2012-06-07 14:07:39 +02:00
Jan Bartel
65ee9d0d34 381876 Monitor should wait for child to finish before exiting. 2012-06-07 00:05:04 +02:00
Jan Bartel
c43725bb31 Take out debug printlns 2012-06-07 00:02:44 +02:00
Jan Bartel
0d38d30ff6 Make compatible with jdk1.5 2012-06-06 15:41:11 +02:00
Jan Bartel
468d7da719 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-06-06 15:02:01 +02:00
Jan Bartel
dc3c77b5f6 381712 Support all declared servlets that implement org.apache.jasper.servlet.JspServlet 2012-06-06 15:00:42 +02:00
Greg Wilkins
27b6d43164 381825 leave URI params in forwarded requestURI 2012-06-06 11:19:15 +02:00
Jan Bartel
13f4c1fcb1 Emit Event Admin events, refactor to fix not knowing if DeploymentManager actually deploys a webapp or not. TODO: stop issuing Events for context handlers that are not webapps. 2012-06-06 10:24:07 +02:00
Greg Wilkins
1801c4ebe8 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-06-05 17:31:44 +02:00
Greg Wilkins
e093732d40 381521 set Vary:Accept-Encoding header for content that might be compressed 2012-06-05 17:31:24 +02:00
Simone Bordet
28c3c3e917 381639 - CrossOriginFilter does not support Access-Control-Expose-Headers. 2012-06-05 16:05:05 +02:00
Jan Bartel
63792e9c14 Merge remote-tracking branch 'origin/master' into osgi_refactor 2012-06-05 15:56:04 +02:00
Jan Bartel
5b3999a7f4 381712 Anoint all JspServlets with correct environment 2012-06-05 15:42:28 +02:00
Simone Bordet
cd05259be4 Updated ReferrerPushStrategy to limit the number of associated resources. 2012-06-05 13:30:15 +02:00
Simone Bordet
c7d09af3f2 Improved ReferrerPushStrategy to check also for content-type of pushed resources. 2012-06-05 12:33:10 +02:00
Simone Bordet
f5d63e8626 Moved version() method to base test class, and using HTTPSPDYHeader instead of hardcoded strings. 2012-06-05 12:32:07 +02:00
Simone Bordet
b9a3c98055 Benchmark for PushStrategy: HTTP vs SPDY no push vs SPDY push. 2012-06-04 19:28:45 +02:00
Simone Bordet
3b0076fc6a Fixed completeHeader() to just not attempt to detect the close state.
This is needed because the buffer to write may be big, and while it's
the only buffer, it may take multiple writes to be written.
If it takes more than one write, we risk to mark the first frame as closed
and subsequent frames cannot be written.

Fixed flush() to loop until the whole content has been flushed.
2012-06-04 19:28:45 +02:00
Simone Bordet
e328cb8141 Improved push of resources by executing them in a different thread.\nAdded a HTTP header that signal to the application that the HTTP request is actually a push. 2012-06-04 19:28:45 +02:00
Simone Bordet
51f307ca7c Made test more reliable. 2012-06-04 19:28:45 +02:00
Simone Bordet
20c0f23cc7 Improved exception logging. 2012-06-04 19:28:45 +02:00
Simone Bordet
f0c2fd2474 Improved error reporting in case of a write failure. 2012-06-04 19:28:45 +02:00
Jan Bartel
ccacf7c17c Implement protecting OSGI-INF, OSGI-OPTS as per OSGi Enterprise Spec. 2012-06-04 17:19:38 +02:00
Jan Bartel
1f1c2c7d17 Merge remote-tracking branch 'origin/master' into osgi_refactor 2012-06-04 13:10:51 +02:00
Jan Bartel
1bfb7df771 381402 Make ContextHandler take set of protected directories 2012-06-04 12:02:40 +02:00
Greg Wilkins
66d171f7d0 381521 set Vary:Accept-Encoding header for compressed content 2012-06-04 11:08:02 +02:00
Greg Wilkins
3e5eff3719 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-06-04 08:26:54 +02:00
Greg Wilkins
5f89c2fd0d supress verbose warning of illegal cookie names 2012-06-04 07:55:20 +02:00
Simone Bordet
c9251e5c73 Fixed bug in AbstractFrameBytes.compareTo(), avoiding NPE when comparing
FrameBytes that have a related stream, and those that don't (such as PING).
2012-06-03 22:53:06 +02:00
Simone Bordet
a2a9fd59a2 Cosmetics. 2012-06-03 18:30:06 +02:00
Simone Bordet
2cb703b0b5 Fixed bug in case of large files being downloaded, and refactored writing of data frames. 2012-06-03 18:30:06 +02:00
Simone Bordet
b0156b69bc Moved factory method for FlowControlStrategy to SPDYServerConnector for easier overriding. 2012-06-03 18:30:06 +02:00
Simone Bordet
4b29f18703 Removed constructors that take the "compressed" parameter (compression has been removed from the specification).
Added constructor that takes byte[], offset and length.
2012-06-03 18:30:05 +02:00
Jan Bartel
f9a917f538 379250 Server is added to shutdown hook twice 2012-06-02 11:55:10 +02:00
Jan Bartel
1f0e25ffa0 Merge "381220: start.log rollover" 2012-06-02 03:57:33 -04:00
Simone Bordet
d84889b2e9 Added configuration to enable NPN debugging, but commented out. 2012-06-01 22:13:26 +02:00
Simone Bordet
eb47f93d86 Corrected order of SPDY protocols, so that most recent ones are chosen over older ones
(e.g. spdy/3 over spdy/2 over http/1.1).
2012-06-01 22:13:26 +02:00
Jan Bartel
9d7fc6975b 381401 Print log warning when stop attempt made with incorrect STOP.KEY 2012-06-01 20:01:44 +02:00
Jan Bartel
40014a93d0 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-06-01 20:00:46 +02:00
Jan Bartel
8bcb906883 381399 Unable to stop a jetty instance that has not finished starting 2012-06-01 19:59:55 +02:00
Simone Bordet
6ff1a5fddc Implemented SPDY/3 HTTP layering. 2012-06-01 19:31:14 +02:00
Simone Bordet
f872676a65 Added handling of the "slot" field in SYN_STREAM frames.
Modified parser and generator, and the session implementation
for now ignores this field.
2012-06-01 19:31:14 +02:00
Simone Bordet
70e4a103ec Implemented correctly SPDY v2 parsing and generation of the HEADERS frame. 2012-06-01 19:31:14 +02:00
Simone Bordet
d12c2fec21 Renamed enum constant. 2012-06-01 19:31:14 +02:00
Simone Bordet
85e2503eec Added handling of the "slot" field in SYN_STREAM frames.
Modified parser and generator, and the session implementation
for now ignores this field.
2012-06-01 19:31:14 +02:00
Simone Bordet
fb34f9b824 Added handling of Credential frames (for now just issuing a warning). 2012-06-01 19:31:14 +02:00
Simone Bordet
91105910ca Added handling of Certificate encoding and decoding. 2012-06-01 19:31:14 +02:00