Commit Graph

6077 Commits

Author SHA1 Message Date
Greg Wilkins 49de22ea48 jetty-9 improved javadoc 2012-11-15 17:31:43 +11:00
Jan Bartel 6aa01d4517 394357 Make JarResource constructors protected 2012-11-15 17:20:55 +11:00
Simone Bordet 2079938120 Improved Usage class to show usages. 2012-11-14 12:52:11 +01:00
Simone Bordet e4cbb94ed6 Changed the read logic.
Before, if the stream had no content, InputStreamContentProvider's iterator
hasNext() was returning true, and next() was returning an empty buffer,
because the read was performed in next() and it was not possible to know
before reading whether the stream had content or was already at EOF.

Now the reads are performed in hasNext(), so that it is possible to return
immediately whether the stream is at EOF or not.
This solves a problem with ProxyServlet, where GET requests with no
content indication were proxied to the upstream server as GET requests
with chunked content, which in most cases were not understood by servers.
2012-11-14 12:12:29 +01:00
Simone Bordet 6ef0f415f0 Centralized defaulting of the port, from -1 to 80 or 443 depending on the scheme. 2012-11-14 12:12:29 +01:00
Simone Bordet 10c90a60f9 Mangling the logger name for better configurability. 2012-11-14 12:12:29 +01:00
Joakim Erdfelt deed4e3db1 Fixing license header 2012-11-13 14:56:10 -07:00
Greg Wilkins 443a5d12f8 improved javadoc 2012-11-14 08:42:23 +11:00
Joakim Erdfelt 6f0d9e546c Merge from 'master' to 'ws-refactor' 2012-11-13 13:52:54 -07:00
Joakim Erdfelt 8d9f05a263 Attempting to get Mux sub-channel to flow thru server as well 2012-11-13 13:05:19 -07:00
Joakim Erdfelt 682f4ef90e Stubbing out mux client/server specific pieces 2012-11-13 13:05:19 -07:00
Joakim Erdfelt d229364f9d Fixing jetty-osgi for new websocket artifacts 2012-11-13 12:50:27 -07:00
Simone Bordet 56cf2c2d3d Restored ProxyServer class to be used as a proxy for browsers. 2012-11-13 19:32:10 +01:00
Simone Bordet d7572f5251 Do not decode content from the upstream server, or the client gets confused. 2012-11-13 19:32:10 +01:00
Simone Bordet c07bab8a05 394215 - Scheduled tasks throwing exceptions kill java.util.Timer thread.
Wrapping the the task run() method into a try/catch to avoid that the Timer thread dies.
2012-11-13 19:32:10 +01:00
Jesse McConnell a37f9c813d get aggregate back into release 2012-11-13 10:16:24 -06:00
Simone Bordet f35f32ac48 Eliminated jetty-proxy module.
Moved ConnectHandler to jetty-server and ProxyServlet to jetty-servlets.
2012-11-13 17:11:46 +01:00
Simone Bordet ba40f7897d Completed port of ConnectHandler and ProxyServlet implementations. 2012-11-13 15:35:51 +01:00
Simone Bordet 3e4b7d7fb4 Implemented CONNECT functionalities. 2012-11-13 11:31:09 +01:00
Simone Bordet 9abc3988fb B64 coding and decoding now throws the unchecked UnsupportedCharsetException
rather than the checked UnsupportedEncodingException.
2012-11-13 11:29:54 +01:00
Joakim Erdfelt 169498cd9d Fixing Frame Decompress to work in Chrome 20.x 2012-11-12 20:52:54 -07:00
Joakim Erdfelt d67fdfdd85 Splitting out websocket-servlet to make it more friendly for WebAppClassloader 2012-11-12 19:42:32 -07:00
Joakim Erdfelt 26ad9a5def Updating test/example WebSocketChat Servlet/WebSocket 2012-11-12 16:56:48 -07:00
Joakim Erdfelt 42ec683297 Merge from 'master' to 'ws-refactor' 2012-11-12 16:22:11 -07:00
Jesse McConnell 97640eeea0 [Bug 394143] add jetty-all aggregate via release profile 2012-11-12 17:13:06 -06:00
Jesse McConnell 952d6b7316 [Bug 394144] add jetty-jaspi 2012-11-12 17:05:50 -06:00
Joakim Erdfelt 80f5fa1a18 Attempting to get Mux sub-channel to flow thru server as well 2012-11-12 16:02:41 -07:00
Joakim Erdfelt dd0b1a39b8 Stubbing out mux client/server specific pieces 2012-11-12 16:02:41 -07:00
Joakim Erdfelt 884f1a3eff New ExtensionStack to manage Extensions easier and more consistently 2012-11-12 16:02:05 -07:00
Greg Wilkins 3d27933600 jetty-9 javadoc improvement 2012-11-13 10:00:04 +11:00
Greg Wilkins d72feaa941 jetty-9 javadoc improvement 2012-11-13 07:59:53 +11:00
Greg Wilkins 650ce2be66 jetty-9 javadoc improvement 2012-11-13 07:30:49 +11:00
Joakim Erdfelt 8548331735 Ripping out javax.net.websocket.extension.* SPI as it is going away 2012-11-12 12:36:39 -07:00
Simone Bordet cf4c5e6024 Added getter for the request buffer; this is needed by the ConnectHandler
to transfer pipelined requests that are present after the CONNECT.

Modified the logic to make the generator persistent to take in account
also the method: if it's a CONNECT, then the generator is always persistent.
2012-11-12 19:07:36 +01:00
Greg Wilkins 9ab2a96715 removed incorrect log.info from listener initialiser 2012-11-12 13:05:06 +11:00
Jan Bartel 8ed0bc40d0 Remove debug printlns from SecurityHandler. 2012-11-12 12:38:06 +11:00
Greg Wilkins 8ff291d223 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java
	jetty-overlay-deployer/src/main/java/org/eclipse/jetty/overlays/OverlayedAppProvider.java
	jetty-overlay-deployer/src/main/java/org/eclipse/jetty/overlays/TemplateContext.java
	jetty-server/src/main/java/org/eclipse/jetty/server/AbstractHttpConnection.java
	jetty-server/src/main/java/org/eclipse/jetty/server/ResourceCache.java
	jetty-server/src/main/java/org/eclipse/jetty/server/handler/ResourceHandler.java
	jetty-server/src/test/java/org/eclipse/jetty/server/ResourceCacheTest.java
	jetty-servlet/src/main/java/org/eclipse/jetty/servlet/DefaultServlet.java
	jetty-servlet/src/test/java/org/eclipse/jetty/servlet/DefaultServletTest.java
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/AbstractCompressedStream.java
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/CompressedResponseWrapper.java
2012-11-12 12:30:26 +11:00
Greg Wilkins 3d3b035b22 Merge remote-tracking branch 'origin/jetty-7' into jetty-8
Conflicts:
	jetty-servlet/src/test/java/org/eclipse/jetty/servlet/DefaultServletTest.java
2012-11-12 09:08:53 +11:00
Greg Wilkins 0f60eb751d 393947 additional tests 2012-11-11 10:25:10 +11:00
Greg Wilkins 75aedbbf45 393947 implement ETags and update gzip filter to handle them 2012-11-11 09:52:26 +11:00
Jesse McConnell d7e2bad665 add license block 2012-11-08 16:43:05 -06:00
Greg Wilkins 6cd32362d0 jetty-9 factored out IdleTimeout 2012-11-09 08:04:58 +11:00
Jesse McConnell a85027573d knock out empty javadoc 2012-11-08 14:38:04 -06:00
Jesse McConnell f03e11c0f2 make sure dists are not installed by default for now 2012-11-08 14:37:33 -06:00
Jesse McConnell 0a3e559ec6 initial setup for deb generation 2012-11-08 14:15:23 -06:00
Greg Wilkins a1d0efc2bb 393832 start connectors last 2012-11-08 19:30:58 +11:00
Greg Wilkins f336511f87 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	VERSION.txt
	jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java
	jetty-server/src/main/java/org/eclipse/jetty/server/AbstractHttpConnection.java
2012-11-08 14:58:10 +11:00
Greg Wilkins 319ce3c508 393075 1xx, 204, 304 responses ignore headers that suggest content 2012-11-08 14:44:39 +11:00
Greg Wilkins b3274a6baa Merge remote-tracking branch 'origin/jetty-7' into jetty-8
Conflicts:
	VERSION.txt
2012-11-08 14:41:01 +11:00
Greg Wilkins eaf65a2902 393075 1xx 204 and 304 ignore all headers suggesting content 2012-11-08 14:37:07 +11:00