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
Simone Bordet
f063df4200
Make this exception extend RuntimeException, not Throwable.
2015-09-23 22:23:37 +02:00
Simone Bordet
0b381fc31f
Fixed test.
2015-09-23 22:23:37 +02:00
Simone Bordet
ff97796ab2
Using ServerConnector instead of NetworkConnector to improve ease of use.
2015-09-23 22:23:37 +02:00
Simone Bordet
667606ac60
Removed System.out calls.
2015-09-23 22:23:37 +02:00
Joakim Erdfelt
3901fcbb60
474936 - WebSocketSessions are not always cleaned out from openSessions
...
+ Adding additional testcase to verify behavior
2015-09-22 14:54:18 -07:00
Simone Bordet
da3699dc55
Merged branch 'jetty-9.2.x' into 'master'.
2015-09-21 16:32:58 +02:00
Simone Bordet
77fdfb8754
Updated ALPN version for JDK 8u60.
2015-09-21 16:19:48 +02:00
Simone Bordet
fde718a3ad
Added tests to verify behavior in case of server closing (or not) the
...
connection in presence of a Connection: close header.
2015-09-21 11:34:57 +02:00
Simone Bordet
b78fee10f5
Refactored to made it easier to use by subclasses.
2015-09-21 10:17:27 +02:00
Simone Bordet
460673f04b
477890 - Overwhelmed HTTP/2 server discards data.
...
HttpInput was using a bounded ArrayQueue with max capacity 64.
The queue was overflowing if there were more than 64 reads within the
flow control window capacity.
Fixed by replacing the ArrayQueue with ArrayDeque, which is unbounded.
2015-09-21 09:34:15 +02:00
Simone Bordet
f833f36c64
Cosmetics.
2015-09-21 09:34:15 +02:00
Greg Wilkins
f708f79b13
477817 Fixed memory leak in QueuedThreadPool
...
Conflicts:
jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java
2015-09-21 11:42:08 +10:00
Greg Wilkins
3c4eb5c4f6
477817 Fixed memory leak in QueuedThreadPool
...
Conflicts:
jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java
2015-09-21 11:39:29 +10:00
Simone Bordet
d0bc20385a
477885 - Jetty HTTP2 client fails to connect with Netty server - HTTP2 client preface missing or corrupt.
...
Fixed by starting to read from the server only after having sent the
client preface.
2015-09-20 16:55:22 +02:00
Greg Wilkins
269ac1a44e
477737 Improve handling of etags with dynamic and static gzip
...
Fixed spin on --gzip etag
2015-09-18 14:54:07 +10:00
Greg Wilkins
67aee72bdd
477680 Encode merged query parameters
2015-09-18 13:19:00 +10:00
Greg Wilkins
99f4ed7352
477737 Improve handling of etags with dynamic and static gzip
2015-09-18 12:30:02 +10:00
Joakim Erdfelt
d39677a635
477757 - Null args in TypeUtil .call & .construct result in confusing exceptions
...
+ Not allowing null class references
+ Allowing null argument lists
2015-09-17 17:05:27 -07:00
Simone Bordet
014d021618
Removed unnecessary test condition.
2015-09-18 01:46:46 +02:00
Simone Bordet
866edf68a9
Replaced string literal with the proper constant.
2015-09-18 01:46:46 +02:00
Greg Wilkins
2d88fdf386
477278 Refactored DefaultServlet for cached Gzip & Etags
...
Refactored the DefaultServlet to better handle static gzipped files with etags in the cache.
Required a simplification of always having a HttpContent rather than the prior situation of
having either a Resource or a HttpContent. So introduced a HttpContent.Factory, of which
the ResourceCache is the normal implementation, but there is also now a ResourceContentFactory
that creates content when there is no cache.
The Gzip resource is now associated with the normal resource, so less lookups are needed.
This also give scope for caching dynamic gzipping in the future.
The GzipHttpContent class has been introduced to send content with the headers of the
uncompress, but content of the compressed resource.
2015-09-17 18:19:58 +10:00
Jan Bartel
03a601f2b2
477385 Make jetty osgi manifests only resolve jetty packages against a single distro version
2015-09-16 19:13:47 +10:00
Simone Bordet
b36b2a9458
477385 - Problem in MANIFEST.MF with version 9.2.10 / 9.2.13.
...
Reintroduced class SpinLock, for compatibility sake when working with
mixed versions of Jetty.
2015-09-15 10:08:05 +02:00
Simone Bordet
edce119c0e
477270 - Add ability to send a single PRIORITY frame.
...
Also fixed the mistake of sending the stream id as the parent stream id.
2015-09-14 11:51:19 +02:00
Simone Bordet
dbd66b131b
Introduced a HeadersFrame constructor for HEADERS frames with
...
unspecified stream id, to be used when creating new frames.
2015-09-14 11:51:19 +02:00
Simone Bordet
30532786cc
Improved logging.
2015-09-14 11:51:19 +02:00
Greg Wilkins
361c27244a
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2015-09-11 12:11:33 +10:00