Greg Wilkins
b027779830
364638 check for idle after shutdown output
2011-12-19 16:53:14 +11:00
Greg Wilkins
f767d8d910
367048 improved handleRequest guard for suspended requests
2011-12-19 15:15:00 +11:00
Jan Bartel
397aa79a50
Merge remote-tracking branch 'origin/master' into bug-359329
2011-12-19 15:01:29 +11:00
Joakim Erdfelt
44de94f185
Attempting to write a better timeout test
2011-12-16 14:45:38 -07:00
Joakim Erdfelt
a5d18d48ad
Attempting to get a non-ssl version of the timeout bug into a unit test
2011-12-16 14:16:32 -07:00
Simone Bordet
3e05c1e59d
Merged from origin/master.
2011-12-16 21:30:45 +01:00
Simone Bordet
d52ed502b0
Sketch of test for idle expiration on SSL.
2011-12-16 21:26:37 +01:00
Simone Bordet
ed1ee997b4
Fixed missing call to handle() in case of non-dispatched reads.
...
While performing a SSL write triggered by an application thread that is not
dispatched by the NIO layer, process() may read and decrypt bytes that will
be kept in the _unwrapBuf buffer.
However, the application needs to parse these bytes, but parsing is normally
performed only from handle() by a thread dispatched by the NIO layer.
The fix is to detect if there are unparsed bytes at the end of process(), and if
so, call asyncDispatch() to eventually call handle() to parse those bytes.
2011-12-16 20:58:18 +01:00
Simone Bordet
a88e2c5ebb
Updated toString() implementations.
2011-12-16 20:53:15 +01:00
Joakim Erdfelt
2b626be186
Minor fixes for Windows build isues
2011-12-15 16:04:07 -07:00
Joakim Erdfelt
95d6b589a4
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-15 11:11:13 -07:00
Joakim Erdfelt
5774c03e09
Refactoring protected fields back to private with protected methods per discussion with Simone
2011-12-15 11:07:27 -07:00
Jan Bartel
ee0ba9ceb1
Merge remote-tracking branch 'origin/master' into bug-359329
2011-12-15 20:22:37 +11:00
Jan Bartel
e515b5b7dc
JETTY-1460 suppress PrintWriter exceptions
2011-12-15 20:19:04 +11:00
Joakim Erdfelt
ae8c8551fc
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-14 14:07:37 -07:00
Greg Wilkins
300157fb2d
more time needed for ssl test on slow machine
2011-12-14 12:01:23 -08:00
Greg Wilkins
5c5f783e2b
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-14 11:42:34 -08:00
Greg Wilkins
bc48eb1f5b
366730 pass the time idle to onIdleExpire
2011-12-14 11:41:32 -08:00
Joakim Erdfelt
c8e43ede1c
Merge branch 'master' into websocket-servlet-refactor
2011-12-14 11:15:20 -07:00
Joakim Erdfelt
6b42a1c45d
JETTY-1463 - WebSockets with Safari gets messages stuck as if in a buffer that needs to be flushed.
...
+ Implementation of Safari WebSocket Draft-0 behavior in a unit test.
(Test fails, and is currently set as @Ignore)
2011-12-14 10:23:40 -07:00
Joakim Erdfelt
42816041c0
JETTY-1463 - WebSockets with Safari gets messages stuck as if in a buffer that needs to be flushed.
...
+ Adding unit test to attempt to replicate behavior (test passes)
2011-12-13 11:26:30 -07:00
Simone Bordet
4aaf88af72
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-13 11:15:26 +01:00
Simone Bordet
bcbcbafb14
More tests for WebSocket over SSL.
2011-12-13 11:15:04 +01:00
Simone Bordet
fa0e06d186
Removed guard whether the channel is closed in checkIdleTimestamp().
...
This follows commit ff29a1cc51
for JETTY-1322.
The reason to remove the guard is that the channel may be closed multiple times, and if for any reason
a check to the idle timestamp triggers, then the idle callback is invoked, but it's not really idle: it is
already closed.
When used with SSL, this causes a truncation attack exception thrown by SSLEngine, because the idle
callback causes a shutdown of the SSLEngine without having received a SSL close alert.
2011-12-13 11:14:25 +01:00
Jan Bartel
d8c8d7a645
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-13 11:08:19 +11:00
Jan Bartel
dfb96dfeeb
366342 Dont persist DosFilter trackers in http session
2011-12-13 11:07:26 +11:00
Jesse McConnell
c1dac27886
Bug 366362 - JAX-WS over https returns the wrong request address. Applied patch by Kenny Stridh . Thanks!
2011-12-12 16:17:30 -06:00
Joakim Erdfelt
004fa1ce1c
Bug 365973 - Websocket client on android causes many VFY errors and
...
warnings.
+ Splitting out WebSocketConnection#handshake() into new
WebSocketServletConnection interface and refactoring accordingly,
in order to remove servlet-api dep on WebSocketConnection for
appropriate websocket client use.
2011-12-12 09:02:40 -07:00
Simone Bordet
416b6a8a15
Added guard against multiple closes: if the endPoint is already closed, skip updating the SSLEngine and/or the endPoint.
2011-12-12 16:57:14 +01:00
Jan Bartel
2c650a5fdd
366316 Superfluous printStackTrace on 404
2011-12-12 12:17:16 +11:00
Joakim Erdfelt
ec297a5456
Bug 366106 - IncludableGzipFilter does not honor minGzipSize init param setting
...
+ IncludableGzipFilter#IncludableGzipWrapper now properly copies
minGzipSize, mimeTypes, and bufferSize configurables.
2011-12-08 14:30:38 -07:00
Joakim Erdfelt
600ae6043b
Bug 363415 - Update start.ini DEBUG enable
...
+ Fixing syntax for DEBUG of eclipse jetty specific classes.
2011-12-08 11:06:06 -07:00
Jan Bartel
0b1becf58d
364936 use Resource for opening URL streams
2011-12-08 12:16:36 +11:00
Joakim Erdfelt
6d2ad43cc4
365932 - Produce jetty-websocket aggregate jar for android use
...
+ revert last change using maven-shade-plugin as it didn't address
the now redundant transitive dependencies present in the
jetty-websocket pom.
+ made a formal jetty-aggregate/jetty-websocket build instead.
2011-12-07 12:13:57 -07:00
Joakim Erdfelt
6b54650046
365932 - Produce jetty-websocket aggregate jar for android use
...
+ Adding maven-shade-plugin default configuration (no bytecode
manipulation) to produce an aggregate classifier jar for
jetty-websocket use.
2011-12-07 10:17:20 -07:00
Simone Bordet
0689e05e9b
365750 - Support WebSocket over SSL, aka wss://
...
This is now implemented, using the new architecture of wrapping the connection with
SslConnection.
The only refactoring was to avoid that the HTTP handshake was sent from the
HandshakeConnection constructor, because at that point the SSL wiring is not ready yet.
Now the handshake is sent from handle(), guarded by a boolean variable to sent it once.
2011-12-06 16:25:15 +01:00
Jan Bartel
ba95a9ba3a
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-05 08:43:21 +11:00
Jesse McConnell
4c6112d7a9
Merge branch 'release'
2011-12-04 15:33:35 -06:00
Jesse McConnell
8ef68e1e0e
Updating VERSION.txt top section
2011-12-04 15:33:07 -06:00
Jan Bartel
15ab626410
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2011-12-05 08:31:49 +11:00
Jesse McConnell
41c746abee
[maven-release-plugin] prepare for next development iteration
2011-12-04 14:18:52 -06:00
Jesse McConnell
0c90133252
[maven-release-plugin] prepare release jetty-7.6.0.RC1
2011-12-04 14:18:45 -06:00
Jesse McConnell
56cd2df556
Updating VERSION.txt top section
2011-12-04 12:11:35 -06:00
Jesse McConnell
0b83f2c82d
Merge branch 'master' into release
2011-12-04 12:10:59 -06:00
Jan Bartel
c6480fc659
365375 ResourceHandler should be a HandlerWrapper
2011-12-02 15:32:33 +11:00
Greg Wilkins
050afb8d57
365370 ServletHandler can fall through to nested handler
2011-12-02 11:09:11 +11:00
Jan Bartel
468e6c284d
365267 NullPointerException in bad Address
2011-12-02 10:04:03 +11:00
Greg Wilkins
7e9fbc7493
handle no jetty-dir css
2011-12-02 09:43:15 +11:00
Greg Wilkins
de005c68fd
Revert "Merge branch 'release-8'"
...
This reverts commit 9e72457941
, reversing
changes made to df12605f0e
.
2011-11-30 16:27:30 +11:00
Greg Wilkins
9e72457941
Merge branch 'release-8'
2011-11-30 15:51:12 +11:00