Commit Graph

7591 Commits

Author SHA1 Message Date
Joakim Erdfelt 179a78e502 JSR-356 Promoting UpgradeRequest.getUserPrinicpal() to API 2013-07-15 11:49:30 -07:00
Joakim Erdfelt 6bd2f8fd3e JSR-356 - Fixing StackOverflowError on Session.getProtocolVersion() 2013-07-15 11:39:56 -07:00
Joakim Erdfelt 2362a4e8b3 JSR-356 - Handling ClientContainer.setMax(Text|Binary)MessageBufferSize better
+ The Jetty API is more configurable than the JSR, this forces the
   Jetty side API to be consistent for whatever value the end user
   specifies.
2013-07-15 10:43:39 -07:00
Joakim Erdfelt b3aee8e4d5 JSR-356 - fixing NPE on Extension.getParameters() 2013-07-15 10:43:39 -07:00
Joakim Erdfelt 5d45486b8d JSR-356 - Cleaning up sendObject(Object) behavior between Basic & Async 2013-07-15 10:43:39 -07:00
Thomas Becker 5667928921 HttpStalledServerConnectionTest fixes 2013-07-15 14:13:36 +02:00
Greg Wilkins bad2f113e5 412940 minor threadsafe fixes
better protect event and listeners
2013-07-15 17:48:50 +10:00
Greg Wilkins e758e0111b 412940 minor threadsafe fixes
hold lock for accessing elements size
2013-07-15 17:00:51 +10:00
Greg Wilkins 8d49f69aa4 412940 minor threadsafe fixes 2013-07-15 16:47:05 +10:00
Greg Wilkins cbc0a114f4 412940 minor threadsafe fixes 2013-07-15 16:40:27 +10:00
Greg Wilkins 5d3760b17d simplified HttpInput lock design 2013-07-15 15:54:25 +10:00
Greg Wilkins 9f5f7e9ead 398467 Servlet 3.1 Non Blocking IO
fixed lock issue detected by Threadsafe from contemplateltd.com
2013-07-15 15:24:14 +10:00
Greg Wilkins 987aa846cc 398467 Servlet 3.1 Non Blocking IO
ensure that EOF is checked after all calls to nextContent
2013-07-15 14:28:22 +10:00
Greg Wilkins b2be8a5781 turned off debugging 2013-07-15 14:12:00 +10:00
Thomas Becker 64f4ad3b11 Fix SPDYClient refactoring. Wrap FuturePromise<Session> in SessionPromise 2013-07-12 09:57:31 +02:00
Thomas Becker 891a2c2b36 add HttpStalledServerConnectionTest, small improvements to ProxySPDYToHTTPLoadTest 2013-07-12 08:40:35 +02:00
Thomas Becker 6b91b947ab ProxySPDYToHTTPLoadTest add debug logging 2013-07-12 08:40:34 +02:00
Jan Bartel fac202e1ac Update new jetty-schemas to 3.1.RC0. Update to 3.1 before 9.1 milestone release. 2013-07-12 14:45:56 +10:00
Jan Bartel bd2add0ae9 Update to post-release (servlet 3.1/javaee) versions of javaee dependencies. WARNING: jetty-schemas from jetty-toolchain needs to be changed from SNAPSHOT to final release. 2013-07-12 13:53:58 +10:00
Greg Wilkins 3add75f135 398467 Servlet 3.1 Non Blocking IO
prevent fillInterest from HTTP after upgrade
2013-07-12 13:01:46 +10:00
Joakim Erdfelt ce37be598c JSR-356 fixing Reader and Boolean parameter id detection. 2013-07-11 11:29:46 -07:00
Joakim Erdfelt 495d2bcd74 JSR-356 - Fixing @OnMessage message format/decoder detection 2013-07-11 11:00:23 -07:00
Thomas Becker af02334ff7 412750 HttpClient close expired connections fix 2013-07-11 15:13:01 +02:00
Greg Wilkins 9a332cf51d Merge branch 'jetty-9.1' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9.1 2013-07-11 19:14:28 +10:00
Greg Wilkins 93faa8147b 398467 Servlet 3.1 Non Blocking IO
use nested classes for better stack trace
2013-07-11 19:13:58 +10:00
Greg Wilkins 7303341ecf 398467 Servlet 3.1 Non Blocking IO
more test fixes
2013-07-11 18:45:04 +10:00
Simone Bordet cdf6f17b9e 412729 - SPDYClient needs a Promise-based connect() method.
Implemented the new method, modified the blocking method
(with a better signature) to call the new method.
2013-07-11 10:28:58 +02:00
Greg Wilkins cd97b3dcbf 398467 Servlet 3.1 Non Blocking IO
fixed more tests
2013-07-11 15:57:42 +10:00
Greg Wilkins 56f2f9c93f Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-07-11 15:20:43 +10:00
Greg Wilkins 7b162460d7 412608 EOF Chunk not sent on inputstream static content
removed debug.
cleaned up imports.
2013-07-11 15:17:08 +10:00
Greg Wilkins a65ca7b5cd Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-07-11 14:45:16 +10:00
Greg Wilkins fdb9d22734 412608 EOF Chunk not sent on inputstream static content
Reworked loop to handle the case of a partial read before EOF
2013-07-11 14:41:46 +10:00
Joakim Erdfelt 022b8d4a12 JSR-356 - adding more examples of using Primitives for @OnMessage 2013-07-10 16:35:50 -07:00
Simone Bordet 8eb6649709 412712 - HttpClient does not send the terminal chunk after partial writes.
HttpGenerator._header and HttpGenerator._buffer may be null when
the content is written after a partial write.
In this case, the terminal chunk was not prepared, and therefore never
written.

The fix simply creates a HttpGenerator._header to prepare the terminal
chunk, so that it will be written.
2013-07-10 22:57:48 +02:00
Jesse McConnell ae3286f9fc [Bug 412713] add dumpOnStart configuration to jetty-maven-plugin 2013-07-10 15:54:48 -05:00
Joakim Erdfelt 5bb66f028a Dialing back the logging level 2013-07-10 11:53:14 -07:00
Jan Bartel fde47b1083 412637 ShutdownMonitorThread already started 2013-07-10 17:21:43 +10:00
Joakim Erdfelt 33c11dffaa JSR-356 - cleaning up Decoder and Encoder lifecycle. 2013-07-09 14:16:06 -07:00
Joakim Erdfelt 46e9493c85 JSR-356 - reworked Config to maintain user provided config
+ If a user provided config is supplied, then that config should
  be used for init(EndpointConfig) and other various accesses to
  the configuration object.  This refactor stops using an internal
  EndpointConfig object always and moves the internal config
  fields into the JsrSession object instead.
2013-07-09 14:16:06 -07:00
Greg Wilkins e35914e400 Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts:
	jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java
2013-07-09 00:32:41 +10:00
Greg Wilkins 809c3aa472 412442 Avoid connection timeout after FIN-FIN close 2013-07-08 23:23:40 +10:00
Greg Wilkins 70b285eabd 398467 Servlet 3.1 Non Blocking IO
fixed some tests
2013-07-08 14:59:08 +10:00
Greg Wilkins 2d3f0bfe0b 412466 Improved search for unset JETTY_HOME 2013-07-08 14:27:13 +10:00
Greg Wilkins 83b55418f5 Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java
2013-07-08 13:58:35 +10:00
Greg Wilkins 4a49a5e3f0 398467 Servlet 3.1 Non Blocking IO
Handle bad listeners
2013-07-08 13:08:53 +10:00
Greg Wilkins 5ddaf9acbf 398467 Servlet 3.1 Non Blocking IO
Make sure that onAllDataRead is correctly dispatched
2013-07-08 13:00:03 +10:00
Thomas Becker 81e92fcc13 409845 add test that makes sure that DataFrameGenerator correctly prepends the header information 2013-07-05 16:11:29 +02:00
Thomas Becker 2d911612a0 412318 HttpChannel fix multiple calls to _transport.completed() if handle() is called multiple times while the channel is COMPLETED 2013-07-05 12:02:52 +02:00
Thomas Becker 5d1225b60e Revert "Revert "412318 HttpChannel fix multiple calls to _transport.completed() if handle() is called multiple times while the channel is COMPLETED""
This reverts commit 474d9fec28.
2013-07-05 10:42:43 +02:00
Greg Wilkins 981102fda5 398467 Servlet 3.1 Non Blocking IO
Asynchronous reads working.
2013-07-05 18:11:09 +10:00