Commit Graph

3677 Commits

Author SHA1 Message Date
Simone Bordet a389d08c26 376201 - HalfClosed state not handled properly.
Addendum to restore previous behavior, where a closed stream was also half closed.
2012-04-12 12:57:04 +02:00
Greg Wilkins 9cc43c5f93 Merge "376519: Change compression type of deflate compression in GzipFilter and IncludableGzipFilter" 2012-04-12 03:14:53 -04:00
Jan Bartel 436743e7d5 367172 Remove detection for slf4j NOPLogger 2012-04-12 17:05:55 +10:00
Greg Wilkins a565c72adb 374550: remove printStackTrace calls 2012-04-12 16:51:59 +10:00
Greg Wilkins c9ce3eb108 362113: fixed StdErrLog so that it does not hold a copy of System.err and thus avoid being redirected if System.err is redirected 2012-04-12 11:32:28 +10:00
Thomas Becker d98f699bea 376519: Change compression type of deflate compression in GzipFilter and IncludableGzipFilter
Change-Id: I83ed4a43ad432502ef5d5ca52c0e7370d8a5dd9f
2012-04-11 20:38:16 +02:00
Thomas Becker 08573701ef 376373: GzipFilter now does not ignore _excludePath + fix for ignored _excludeAgentPatterns if _excludeAgent is set
Change-Id: Ie9940141f9b92b267f4b405ef4ec3ab5dee43be5
2012-04-11 14:47:28 +02:00
Thomas Becker 543d2a18ca 376373: GzipFilter now does not ignore _excludePath + fix for ignored _excludeAgentPatterns if _excludeAgent is set
Change-Id: I8d3d0fd62677c3a54cbe93febf4cde49aa24cc74
2012-04-11 13:03:33 +02:00
Thomas Becker 5ddaa62469 Merge branch 'master' of ssh://git.eclipse.org:29418/jetty/org.eclipse.jetty.project 2012-04-11 13:02:14 +02:00
Simone Bordet 04b37f02ed Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-04-11 12:34:45 +02:00
Simone Bordet 972087d068 376201 - HalfClosed state not handled properly. 2012-04-11 12:18:56 +02:00
Jan Bartel 942c8a19f5 373269 Make ServletHandler.notFound() method impl do nothing - override to send back 404. 2012-04-11 19:53:55 +10:00
Jan Bartel a1fd229cc6 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-04-11 19:53:20 +10:00
Thomas Becker 5b7fe58593 376373: GzipFilter now does not ignore _excludePath + fix for ignored _excludeAgentPatterns if _excludeAgent is set
Change-Id: I1f0ac1b5a12d75b755a85cc9bdb4906c6b7a84a6
2012-04-11 10:55:32 +02:00
Simone Bordet 47c1587166 Strengthen the behavior of Stream methods to throw if they are used wrongly,
for example sending DATA frames before a REPLY and so on.
2012-04-11 10:39:23 +02:00
Greg Wilkins 20a3d3c12e 376424: do not recycle buffers before content consumed asynchronously 2012-04-11 18:21:39 +10:00
Greg Wilkins 4412d311a9 370081:fixed test reset 2012-04-11 17:21:02 +10:00
Jan Bartel f81ea12320 375709 Ensure resolveTempDirectory failure does not deadlock; improve error message 2012-04-11 12:37:51 +10:00
Greg Wilkins 9dfa9f9937 370081: correctly set URI for query strings 2012-04-10 14:21:07 +10:00
Simone Bordet 6ec1594010 Updated path location of the jetty config file for SPDY. 2012-04-05 17:33:48 +02:00
Simone Bordet eaacd69ede Moved from SLF4J to Jetty logging. 2012-04-05 17:30:05 +02:00
Jan Bartel d47d4b15ea Added ability to use a META-INF/jetty-webapp-context.xml file to apply a context configuration file to a webapp.
Replaced more printStackTrace with log calls; more formatting.
2012-04-05 17:34:00 +10:00
Simone Bordet 50f545b29a Vastly improved queueing of FrameBytes, by appending at the end of the queue (instead of iterating over the queue).
Also, implemented a better fix for the missing flush() in case of missing handlers: now instead of flushing in the write
completion handler (which could lead to stack overflows), we use the same mechanism employed for FrameBytes,
where we avoid stack overflows by dispatching to a new thread after few recursive invocations.
2012-04-04 19:21:16 +02:00
Jan Bartel 911643b783 Reformat src code; ensure url caching is controlled by jetty Resource.setDefaultUseCaches 2012-04-04 15:13:33 +10:00
Jan Bartel 792b101639 Update version in MANIFESTs 2012-04-04 15:13:02 +10:00
Simone Bordet 5b668fd6f1 375970 - HttpServletRequest.getRemoteAddr() returns null when HTTP is over SPDY. 2012-04-03 18:23:16 +02:00
Simone Bordet 6c464238b7 Updated dependency on jetty-npn, now that it moved to its own project at github and it's unlocked from jetty releases. 2012-04-03 12:00:38 +02:00
Jan Bartel 83a4bb71a3 374475 Response.sendRedirect does not encode UTF-8 characters properly 2012-04-03 17:03:26 +10:00
Greg Wilkins b2b4b2733b jetty-spdy fixed version of api 2012-04-03 10:12:46 +10:00
Jesse McConnell 71091da2c4 [maven-release-plugin] prepare for next development iteration 2012-04-02 10:23:43 -05:00
Jesse McConnell eea06004f5 [maven-release-plugin] prepare release npn-api-1.0.0.v20120402 2012-04-02 10:23:36 -05:00
Jesse McConnell 9521e1f124 Merge 2012-04-02 10:22:44 -05:00
Jesse McConnell 5b2d703a04 remove jetty-npn from build and release separately 2012-04-02 10:21:22 -05:00
Simone Bordet 98658a2873 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-04-02 15:42:35 +02:00
Simone Bordet d231b57144 Made the test more reliable. 2012-04-02 15:39:01 +02:00
Thomas Becker 2b83d9d954 375692: cosmetic changes to get rid of warnings, etc.
Change-Id: Id4d76a7f6e5bd989505e5233af73d5526b8e7c1f
2012-04-02 13:41:36 +02:00
Simone Bordet 30adf7cd18 Added missing flush after writing frames.
Frames may be written asynchronously but without a Handler, and therefore it was possible that frames
queued up, that one flush() was writing a frame without Handler, and the flush was stopping even if the
queue was non-empty.
Now we call flush() after writing a frame.
2012-04-02 13:22:06 +02:00
Simone Bordet b44fe2094f Fixed Maven warning. 2012-04-02 13:16:40 +02:00
Simone Bordet bd0cc72439 Made the test more reliable. 2012-04-02 13:14:57 +02:00
Greg Wilkins cc1bef6f2e 375594 fixed SSL tests so they are not order dependent 2012-04-02 18:18:39 +10:00
Simone Bordet bb429a7f18 375509 - Stalled stream stalls other streams or session control frames.
Now using a "death pill" instead of a boolean in order to avoid race conditions where
DataInfos were read from the queue (but the boolean not updated yet), and viceversa.
2012-04-02 10:09:55 +02:00
Simone Bordet 00b31b6577 Added defaults in switches. 2012-04-02 10:07:51 +02:00
Simone Bordet fff059f7a9 Making sure bytes are masked when doing int operations. 2012-04-02 10:07:25 +02:00
Simone Bordet 830557f018 Fixed infinite recursive loop. 2012-04-02 10:06:35 +02:00
Jan Bartel 28de69760a JETTY-1504 HttpServletResponseWrapper ignored when using asyncContext? 2012-04-02 12:35:12 +10:00
Greg Wilkins 9244292fca 375692: simplified gzipfilter 2012-04-02 12:09:03 +10:00
Simone Bordet b0a3d031aa 375509 - Stalled stream stalls other streams or session control frames.
Additional fixes to the implementation of flush(). Also implemented frame priority.
2012-03-30 18:47:47 +02:00
Simone Bordet 2a44fa5c22 Cosmetics. 2012-03-30 18:46:53 +02:00
Thomas Becker 2278d27235 375692: GzipFilter support for deflate
Change-Id: I4a42d750cfbbb61078adafa1e2bcbc1973198dca
2012-03-30 11:02:44 +02:00
Simone Bordet 85ade6ae86 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-03-29 12:50:26 +02:00