Joakim Erdfelt
cce7837e64
Fixes #654 - ServletContext.getResourceAsStream("/") should return null
...
+ Jetty 9.2 (and earlier) used a Resource.getInputStream() implementation
that would trigger an IOException on-construction (vs on-first-access)
due its use of java.io.FileInputStream(File) which had a isDirectory
check in its constructor.
+ Jetty 9.3 and onward uses java.nio.file.Files.newInputStream() which
has the bad on-first-access behavior.
+ Changing the behavior of PathResource.getInputStream() to behave the
same way as the prior FileResource.getInputStream(), as well as adding
the Resource.isDirectory() check back into ContextHandler.getResourceAsStream(String)
to prevent creation of the InputStream in the first place.
2016-06-22 09:09:05 -07:00
Joakim Erdfelt
cb03ffd9a2
Merge branch 'jetty-9.2.x' into jetty-9.3.x
2016-06-22 08:51:24 -07:00
Joakim Erdfelt
2731ac1752
Issue #654 : Confirming ServletContext.getResourceAsStream() behavior in Jetty 9.2.x
2016-06-22 08:50:25 -07:00
Simone Bordet
72393bc666
Fixes #659 - CONNECT request fails spuriously.
...
Fixed by properly returning true from messageComplete() in case of
a 101 response or a 200 CONNECT response.
2016-06-22 11:27:28 +02:00
Simone Bordet
a07461f4bd
Code cleanups.
2016-06-22 11:27:28 +02:00
Greg Wilkins
d4c1bec340
Fixes #624 cleanup
2016-06-22 18:58:31 +10:00
Greg Wilkins
126e58c7cc
Fixes #624 cleanup
2016-06-22 16:47:00 +10:00
Greg Wilkins
59540f552c
Fixes #624
2016-06-22 16:31:25 +10:00
WalkerWatch
baae86fcef
Correcting path for #645 ( #646 )
...
* Correcting path for #645
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
* Fixing path variables.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-06-22 09:44:59 +10:00
Joakim Erdfelt
78c9010400
Merge branch 'jetty-9.2.x' into jetty-9.3.x
2016-06-20 17:55:49 -07:00
Joakim Erdfelt
bcc57d161a
Fixes #425 - Removing duplicate Decoder affecting lifecycle
...
+ Duplicate Decoder was created and used in OnMessageCallable.
Now using DecoderFactory to obtain already instantiated
Decoder instead.
2016-06-20 17:47:29 -07:00
Joakim Erdfelt
02144e0a97
Making test keystores compatible with Java 8 restrictions
2016-06-20 17:46:21 -07:00
Simone Bordet
d073780dde
Refactored tests.
2016-06-20 23:10:44 +02:00
Simone Bordet
7ef22c8ebd
Fixes #648 - Problem using InputStreamResponseListener to handle HTTP/2 responses.
...
The fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=484446
reimplemented InputStreamResponseListener using callbacks rather than
blocking waits.
However, HTTP/2 behaves a little differently than HTTP/1.
Where in HTTP/1 until the callback was completed no further calls to
onContent() were made, with HTTP/2 additional calls are made until
the flow control window is exhausted.
For this reason InputStreamResponseListener must queue content chunks
rather than dealing only with one chunk at a time.
2016-06-20 23:10:44 +02:00
Simone Bordet
442a7ce8cc
Improved logging.
2016-06-20 23:10:44 +02:00
Joakim Erdfelt
62effb73d3
Removing duplicate entries in VERSION.txt
2016-06-20 09:56:21 -07:00
Joakim Erdfelt
abdbd177c1
Wrong version plugin (oops)
2016-06-20 09:12:05 -07:00
Joakim Erdfelt
7b1d807e49
Updating version plugin
2016-06-20 09:10:27 -07:00
Joakim Erdfelt
4d85e1f82c
Adding release-jetty.sh script (for those that want it)
2016-06-20 09:08:53 -07:00
Jesse McConnell
99e1a16d07
Resolve Issue #649 by checking for null password on a binding ldap authentication
2016-06-17 18:56:45 -05:00
Simone Bordet
fdd1cd1e94
Fixes #647 - HTTP/2 CONTINUATION frame parsing throws IllegalStateException.
...
Added the missing "break" statement.
2016-06-17 11:53:58 +02:00
Simone Bordet
9d9f68da08
Reduced logging level for MAX_HEADER_LIST_SIZE.
2016-06-17 10:25:45 +02:00
Greg Wilkins
0e5de87d49
Issue #663 Cleanup
...
Increased websocket tests timeouts
2016-06-15 18:04:33 +10:00
Greg Wilkins
a8e315a3f5
Fix #663 NPE during context stop
...
Avoid adding null beans
protect against null beans.
2016-06-15 18:04:33 +10:00
WalkerWatch
69804f9e76
Chapter 24 touch-ups. ( #635 )
...
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-06-15 15:55:11 +10:00
Jan Bartel
f1c56d7f8c
Issue #641
...
Also use mongo createIndex for index on validity and access time fields
2016-06-15 13:46:39 +10:00
Jan Bartel
7f58701b53
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-06-15 13:14:39 +10:00
Jan Bartel
297918f719
Issue #641
...
Use Mongo createIndex instead of deprecated ensureIndex.
2016-06-15 13:12:37 +10:00
Greg Wilkins
f724d36646
Cleanup #624
...
removed excess test code
2016-06-15 10:38:40 +10:00
Greg Wilkins
bc87cf0ab4
Revert "Debug #624"
...
This reverts commit b40c2ae66f
.
2016-06-15 10:32:10 +10:00
Simone Bordet
35077c9803
Increased timeouts to avoid failures on slower machines.
2016-06-14 11:08:38 +02:00
Simone Bordet
dc7bd636d0
Increased timeouts to avoid failures on slower machines.
2016-06-14 11:04:18 +02:00
Simone Bordet
fb76491ea0
Code cleanups.
2016-06-14 11:04:01 +02:00
Simone Bordet
c0f54ab82f
Increased timeouts to avoid failures on slower machines.
2016-06-14 00:26:18 +02:00
Simone Bordet
ebee9f12f9
Fixed SessionTrackingTest.
...
Introduced WebSocketSession.Listener that can be used to be notified
of session opening and close, so that tests can be written more reliably.
2016-06-13 23:23:15 +02:00
Simone Bordet
df2af60710
Fixes #640 - ClientContainer should store WebSocket sessions as beans.
2016-06-13 23:23:14 +02:00
Simone Bordet
77de314ce1
Fixes #639 - ServerContainer stores WebSocket sessions twice.
...
ServerContainer now delegates session storage to WebSocketServerFactory.
2016-06-13 23:23:14 +02:00
Simone Bordet
4f0741ac29
Temporarily commented out buggy clirr plugin.
...
Relevant issues:
+ mojohaus/clirr-maven-plugin#3 (fixed in 2.7)
+ mojohaus/clirr-maven-plugin#7
2016-06-13 23:23:14 +02:00
Simone Bordet
e578c79b41
Code cleanups.
2016-06-13 23:23:14 +02:00
Simone Bordet
da4a9e4cd8
Enlarged client-side idle timeout to avoid failures in slower machines.
2016-06-13 19:14:37 +02:00
Simone Bordet
45eac1de69
Enlarged idle timeout to avoid failures in slower machines.
2016-06-13 18:11:07 +02:00
Simone Bordet
7c0d1ea026
Refactored tests to use HttpTester instead of SimpleHttpParser.
2016-06-13 17:55:03 +02:00
Simone Bordet
2b539b6383
Fixes #638 - ConnectHandler responses should have Content-Length.
...
Added Content-Length: 0 to the responses.
2016-06-13 17:54:41 +02:00
Simone Bordet
b9a27f792a
Updated test to print out test method via TestTracker.
2016-06-13 16:24:53 +02:00
Simone Bordet
e803bf6c81
Test code cleanup.
...
Converted static fields to non-static, and removed unused code.
2016-06-13 12:15:45 +02:00
Greg Wilkins
b40c2ae66f
Debug #624
...
This commit is instrumentation to be executed in the CI system to debug #624
This commit should be reverted once the test has failed again!
2016-06-11 10:33:48 +10:00
Joakim Erdfelt
19e52ab9c4
Removing HttpCompliance from example
2016-06-10 13:19:51 -07:00
Jan Bartel
76a5ec1b8e
Merge pull request #629 from rbygrave/springboot-metaInfConf
...
Issue #628 resolve by checking for existing jar: prefix on uri
2016-06-10 12:17:33 +10:00
Jan Bartel
27ed0480b9
Issue #632
...
Remove unneeded scripts
2016-06-10 11:52:32 +10:00
Jan Bartel
a6cfff8573
Issue #632 fix jmx tests to use random jetty server port
2016-06-10 11:46:15 +10:00