Commit Graph

7659 Commits

Author SHA1 Message Date
Jan Bartel 48bedc3fd4 413020 Second call to HttpSession.invalidate() should throw exception
413019 HttpSession.getCreateTime() should throw exception after session is invalidated
2013-07-18 15:02:16 +10:00
Greg Wilkins 8645849272 398467 Servlet 3.1 Non Blocking IO
Added ByteBuffer write and improved test harnesses
2013-07-18 12:53:07 +10:00
Thomas Becker a1789c8f7c 412840 remove Future in SPDYClient.connect() and return Session instead in blocking version 2013-07-17 18:09:11 +02:00
Thomas Becker d65b511447 413155 simplify HttpTransportOverSPDY a bit more. Throw exceptions if send is called with no content, lastContent=false and no responseInfo 2013-07-17 15:52:55 +02:00
Thomas Becker 205ef85ead 413155 refactor HttpTransportOverSPDY to fix some bugs and reduce cyclomatic complexity 2013-07-17 13:34:03 +02:00
Joakim Erdfelt 2e1ad360ae Fixing compilation failure 2013-07-16 18:17:14 -07:00
Joakim Erdfelt e69b41e9cd JSR-356 Adding suppport for @PathParam 2013-07-16 16:56:03 -07:00
Joakim Erdfelt ba50e6b053 JSR-356 Adding echo tests on primitives 2013-07-16 14:05:59 -07:00
Simone Bordet 762e4ba4c3 413113 - Inconsistent Request.getURI() when adding parameters via Request.param().
Fixed by rebuilding the URI when a call to param() is made.
2013-07-16 21:50:22 +02:00
Simone Bordet 1555a7eb0a 413108 - HttpClient hardcodes dispatchIO=false when using SSL.
Reverted to use default value for dispatchIO - without hardcoding it.
2013-07-16 21:33:47 +02:00
Joakim Erdfelt fb00eb55cd JSR-356 Promoting ReflectUtils to websocket-common 2013-07-16 10:43:27 -07:00
Thomas Becker 11e0b57f68 413066 accept lower case method: head 2013-07-16 16:27:59 +02:00
Thomas Becker 0b3d91e94e disable debug logging 2013-07-16 15:52:41 +02:00
Thomas Becker 7d9803972e 413066 fix HttpTransportOverSPDYTest 2013-07-16 15:39:39 +02:00
Thomas Becker b858f266d6 413066 SPDY HEAD requests don't send response body anymore 2013-07-16 14:36:02 +02:00
Joakim Erdfelt 05c5342752 JSR-356 Improving MessageHandler manipulation 2013-07-15 16:00:02 -07:00
Joakim Erdfelt 9a8580b580 JSR-356 Improving Debugging of Annotated EventDrivers 2013-07-15 15:59:22 -07:00
Joakim Erdfelt 2f01bdcdec JSR-356 fixing javadoc describing class 2013-07-15 14:26:14 -07:00
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