11319 Commits

Author SHA1 Message Date
Joakim Erdfelt
9cf0e34a1d Updating to version 9.4.0-SNAPSHOT 2015-10-07 15:41:32 -07:00
Joakim Erdfelt
37296bec3c Updating to version 9.3.4.v20151007 jetty-9.3.4.v20151007 2015-10-07 14:58:38 -07:00
Joakim Erdfelt
f2e0a46058 478752 - Clarify support for HttpServletRequest.upgrade()
+ Indicating lack of upgrade() support with ServletException
2015-10-07 14:40:01 -07:00
Simone Bordet
29e64f5b1c Fixed test. 2015-10-07 23:10:11 +02:00
Simone Bordet
0ca40b59c6 479277 - HttpClient with HTTP/2 transport does not work for "https" URLs.
Fixed by reworking how ClientConnectionFactories are handled by both
HTTP2Client and by HttpClientTransportOverHTTP2, to avoid that the
latter wraps the nested factories with SslConnection twice.
2015-10-07 21:39:02 +02:00
Greg Wilkins
b2f8192c7b 478923 - threads stuck at SharedBlockingCallback$Blocker.block
Fixed the failure path so that it also checks for non blocking callbacks
and directly calls them
2015-10-07 15:11:53 +11:00
Joakim Erdfelt
80675ce1d2 Javadoc fixes 2015-10-06 08:03:51 -07:00
Jan Bartel
7f82124d54 478862 Update to jstl 1.2.5 2015-10-06 19:30:37 +11:00
Greg Wilkins
4d4ed7bbe2 478923 Add XML property for blockingTimeout 2015-10-06 09:14:19 +11:00
Simone Bordet
399755b352 479026 - Wrong CONNECT request idle timeout.
Explicitly set the CONNECT request idle timeout instead of inheriting
HttpClient's.
2015-10-05 11:52:58 +02:00
Joakim Erdfelt
6aae1265bd Removing redudant close reason trim (handled elsewhere now) 2015-10-02 10:47:10 -07:00
Joakim Erdfelt
64d5718e9e Removing System.out 2015-10-02 10:43:47 -07:00
Joakim Erdfelt
cd17ff932a 478829 - WebsocketSession not cleaned up / memory leak
+ WebSocket Connection objects no longer need to
  hold a reference to the WebSocketSession object
  eliminating another reference to the WebSocketSession
  that could hold GC efforts to clean it up
2015-10-02 10:33:32 -07:00
Joakim Erdfelt
1e8d0db743 478829 - WebsocketSession not cleaned up / memory leak
+ Reducing looping references Session -> otherObj -> Session
 + Using Container LifeCycle bean management more consistently
 + All sessions are now child beans
 + A stopped session that hasn't been closed, will auto-close now
 + Using SessionListener more consistently
 + Client ConnectionManager no longer tracks Sessions
 + EventDriver stop cleans up its Session references
 + Moving all DummyConnection test classes to websocket-common:tests
2015-10-01 18:18:20 -07:00
Joakim Erdfelt
f4133dfd35 javadoc fix 2015-10-01 15:56:26 -07:00
Greg Wilkins
635c8ff7f6 477641 ALPN classes exposed to webapps - fixed typo 2015-10-01 08:32:16 +10:00
Greg Wilkins
3401d1382a 477641 ALPN classes exposed to webapps 2015-10-01 08:30:09 +10:00
Joakim Erdfelt
5300f0c7f7 478757 - DebugHandler thread name is mangled
+ Added testcase, and fixed handler for threadname output.
2015-09-30 12:47:31 -07:00
Joakim Erdfelt
8946badbed Extracting IBlockheadServerConnection for refactoring prep 2015-09-30 12:47:31 -07:00
Joakim Erdfelt
b865b50cb6 Extracting IBlockheadClient for refactoring prep 2015-09-30 12:47:31 -07:00
Greg Wilkins
540b33e64c 478372 - JavaUtilLog setSourceClass and setSourceMethod
Log ignored only if log level is all
turn off java util logging in embedded examples
2015-09-30 16:24:11 +10:00
Jan Bartel
697b0cccf2 477895 Prevent leak of handles to deleted files after redeploy 2015-09-30 13:39:31 +10:00
Simone Bordet
6300480c0b Forwarding HttpClient properties to HTTP2Client at startup. 2015-09-29 12:16:00 +02:00
Simone Bordet
90743d301a Improved toString().
Changes imported manually from branch 9.2.x.
2015-09-29 12:06:01 +02:00
Simone Bordet
1f2f62cff4 Revert "Merged branch 'jetty-9.2.x' into 'master'."
This reverts commit 701ca1aa26b0660d054faa4fd7ba9548a0b5cd58, reversing
changes made to 64ba5a6ef8558c70ae053a7854891273fe4ea5bf.
2015-09-29 11:31:56 +02:00
Simone Bordet
9549b32ea6 Revert "Merged branch 'jetty-9.2.x' into 'master'."
This reverts commit db61fc2a473c98d75a30aac7fba306c62677d960.
2015-09-29 11:31:03 +02:00
Simone Bordet
db61fc2a47 Merged branch 'jetty-9.2.x' into 'master'. 2015-09-29 09:43:12 +02:00
Simone Bordet
701ca1aa26 Merged branch 'jetty-9.2.x' into 'master'. 2015-09-29 09:42:28 +02:00
Simone Bordet
fd5c5b5779 Improved toString(). 2015-09-28 19:23:50 +02:00
Simone Bordet
64ba5a6ef8 Improved usability of PingFrame. 2015-09-27 17:03:29 +02:00
Simone Bordet
83c5105e71 478434 - Priority weights should be between 1 and 256 inclusive.
Added required +1 in parsers and -1 in generators to convert from
unsigned byte to weight.
2015-09-26 00:14:45 +02:00
Simone Bordet
3dcdb9f802 Merged branch '477878' into 'master'. 2015-09-25 19:34:45 +02:00
Simone Bordet
3201d0acd2 477878 - HttpClient over HTTP/2 doesn't close upload stream.
Clarified the difference between last and consumed in HttpContent.
Fixed HTTP/2 transport to behave correctly in case of last content.
2015-09-25 19:31:40 +02:00
Simone Bordet
6544af8ce7 Improved IllegalStateException message. 2015-09-25 19:24:32 +02:00
Joakim Erdfelt
f22fcde971 474936 - WebSocketSessions are not always cleaned out from openSessions
+ Calling onSessionOpen() before App.onOpen()
  This helps, as there is a race for the onSessionOpen()
  in the original behavior with short lived sockets.
  The short lived socket could handle onSessionClosed()
  before onSessionOpen() had a chance, making the close
  fail to remove the session from openSessions, and then
  the slower add occurs later, adding it into the openSession
+ Minor cleanup in IOState
2015-09-25 09:49:29 -07:00
Joakim Erdfelt
1bca608b48 Breaking out close logging into child logger of AbstractWebSocketConnection 2015-09-25 09:49:29 -07:00
Joakim Erdfelt
58203893b6 Fixing javadoc 2015-09-25 09:49:29 -07:00
Simone Bordet
0c9eba0485 478275 - Priority information in HEADERS frame is not sent.
Now the priority information present in HEADERS frame is correctly
generated and sent as part of the HEADERS frame.
2015-09-25 13:00:26 +02:00
Simone Bordet
394c105d5d Cosmetics. 2015-09-25 12:39:53 +02:00
Greg Wilkins
007ac4a9dd 478372 - JavaUtilLog setSourceClass and setSourceMethod
Added some additional features to configure the java.util.logging mechansim
2015-09-25 14:08:31 +10:00
Greg Wilkins
dcb4c0d0a8 478372 - JavaUtilLog setSourceClass and setSourceMethod 2015-09-25 12:45:46 +10:00
Greg Wilkins
3e242bef16 478280 property file in temp directory 2015-09-25 09:00:46 +10:00
Greg Wilkins
46a611caac 476720 getTrustStoreResource fixed 2015-09-24 17:26:01 +10:00
Greg Wilkins
1af9b3e241 477900 Increase client authentication default max content size 2015-09-24 17:23:30 +10:00
Greg Wilkins
131a471c8f 478008 Do not reset current value of CounterStatistics 2015-09-24 17:19:48 +10:00
Jan Bartel
06fbf447fb 478247 WebappClassLoader pinned after redeploy 2015-09-24 14:03:37 +10:00
Greg Wilkins
382c8e3738 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2015-09-24 08:41:24 +10:00
Greg Wilkins
038af01e8e 478105 prependFilterMapping check for null FilterHolder 2015-09-24 08:41:04 +10:00
Jan Bartel
6f953b2677 478239 Remove pointless synchronize in infinispan scavenging 2015-09-24 08:37:35 +10:00
Simone Bordet
8c21871cf0 478021 - Client sending Connection: close does not shutdown output.
Fixed behavior of HttpGenerator to change its persistent also for
requests.

Reworked HttpSenderOverHTTP to send headers via IteratingCallback, so
that multiple generation steps can be made to produce SHUTDOWN_OUT.
2015-09-23 22:23:37 +02:00