Commit Graph

9234 Commits

Author SHA1 Message Date
Joakim Erdfelt f2ea8351b6 429390 - Decoders and Encoders are not registered for non-annotated ClientEndpoint
+ Adding EncoderTest to verify reported bug
+ Fixing SimpleEndpointMetadata to propagate the encoder/decoder list
  when present.
2014-05-22 13:12:39 -07:00
Greg Wilkins 3f4a8abf9e 434810 better handling of bad messages 2014-05-21 22:01:28 +02:00
Greg Wilkins 1e524f378e 434810 better handling of bad messages 2014-05-21 20:13:21 +02:00
Jan Bartel 58ea1dd386 435412 Make AbstractSession.access() more amenable to customization 2014-05-21 18:43:02 +02:00
Simone Bordet 65e13ce08f Fixed response status message string, that was trimmed after the first
space.
2014-05-21 17:44:56 +02:00
Simone Bordet 9e1cac33d0 Made ProxyServlet and AsyncProxyServlet more extensible by adding
factory methods for relevant objects used in the implementation.
2014-05-21 09:11:40 +02:00
Simone Bordet 7745e8b6c1 435338 - Incorrect handling of asynchronous content.
Return values from parser and parser callbacks must not be ignored.
2014-05-20 22:46:09 +02:00
Simone Bordet f225af318b 435223 - High cpu usage in FCGIHttpParser.parseContent(ResponseContentParser.java:314).
Since often FastCGI servers do not send the Status header if the
response is 200, the parser is now initialized with response code 200.
2014-05-20 22:46:09 +02:00
Simone Bordet 8f9e73df72 Introduced parameter sendStatus200 to optionally send the Status
header when the response code is 200.
2014-05-20 22:46:09 +02:00
Simone Bordet 2a4cee5db6 Always store HTTP fields to implement logic to detect the content mode. 2014-05-20 22:46:09 +02:00
Simone Bordet 8bf0fee80b Factored common code. 2014-05-20 22:46:08 +02:00
Simone Bordet c4f7d38e86 Javadocs and comments. 2014-05-20 22:46:08 +02:00
Simone Bordet 4234048d81 Only generating Status header if the response code is greater than zero. 2014-05-20 22:46:08 +02:00
Simone Bordet 4f67993b61 Simplified/Improved handling of parser return values. 2014-05-20 22:46:08 +02:00
Simone Bordet 4e3118f5b1 More tests for FastCGIProxyServlet. 2014-05-20 22:46:08 +02:00
Simone Bordet 724fb7d6d3 Removed TODO and improved logging. 2014-05-20 22:46:08 +02:00
Joakim Erdfelt bcf52e14f0 435206 - Can't add Cookie header on websocket ClientUpgradeRequest
+ Fixed competing cookie setters between WebSocketClient's use of
  CookieStore and UpgradeRequest.setCookies()
+ Added some utility methods to LazyList (for lack of existence of
  ListUtil or CollectionUtil in jetty-util)
2014-05-20 11:57:35 -07:00
Joakim Erdfelt 3bee85423c 435088 - lib/npn packaging of jetty-distribution is off
+ Fixing contents of npn-1.7.0_55.mod to conform to Jetty 9 techniques.
2014-05-20 10:10:16 -07:00
Simone Bordet 7918a58c71 Using Callback.Adapter.INSTANCE to avoid unneeded allocations. 2014-05-19 18:49:17 +02:00
Jan Bartel 1386f20cf5 435217 Remove deprecated TagLibConfiguration 2014-05-19 18:20:52 +02:00
Joakim Erdfelt ea990e4450 435088 - lib/npn packaging of jetty-distribution is off
+ correcting old directory name from merge of jetty-9.1.x -> master
  see commit - 60f2200184
2014-05-16 10:05:01 -07:00
Joakim Erdfelt 69e6701106 435086 - ${jetty.base}/resources not on classpath when using --module=resources
+ Adding test case for resource.mod
+ Fixing java.nio.file.PathMatcher use to not include trailing slash for
  directory matches.
2014-05-16 09:55:36 -07:00
Joakim Erdfelt 5b009dbe15 Adding FrameDebugExtension ability 2014-05-16 08:32:30 -07:00
Jesse McConnell b49bab9cf2 Merge branch 'release-9' 2014-05-15 16:05:52 -05:00
Jesse McConnell b12b125204 set for dev 2014-05-15 16:05:32 -05:00
Jesse McConnell 6a3cab2a2f [maven-release-plugin] prepare for next development iteration 2014-05-15 14:44:37 -05:00
Jesse McConnell eec01cbff4 [maven-release-plugin] prepare release jetty-9.2.0.RC0 2014-05-15 14:44:28 -05:00
Jesse McConnell 4c24fa120f set for release 2014-05-15 07:51:26 -05:00
Jesse McConnell 7982a38ea6 Merge branch 'master' into release-9 2014-05-15 07:34:09 -05:00
Simone Bordet d75b9177c5 432939 - Jetty Client ContentResponse should have methods such as getContentType() and getMediaType().
Introduced ContentResponse.getMediaType() and ContentResponse .getEncoding(),
as well as BufferingResponseListener.getMediaType() to make the media
type and the encoding available to applications.
2014-05-15 10:58:49 +02:00
Simone Bordet b603964bb6 433089 - Client should provide Request.accept() method, like JAX-RS 2.0 Invocation.Builder.accept(). 2014-05-15 10:23:24 +02:00
Simone Bordet fa51281546 Avoided allocation of rarely used containers. 2014-05-15 09:59:31 +02:00
Simone Bordet eb1900d10b 428966 - Per-request cookie support. 2014-05-15 09:57:20 +02:00
Simone Bordet 660c05d399 URLEncoding also parameter names. 2014-05-15 09:09:41 +02:00
Joakim Erdfelt ab67143c29 Fixing felix/bundle plugin configuration to make tycho happy 2014-05-14 16:36:17 -07:00
Simone Bordet c322ed4b90 419972 - Support sending forms (application/x-www-form-urlencoded).
Implemented introducing HttpClient.FORM() method and
FormContentProvider, based on Fields.
2014-05-14 23:54:26 +02:00
Simone Bordet bf7ab5d326 420368 - Default content types for ContentProviders.
Introduced ContentProvider.Typed to specify a content type along with
the content.
2014-05-14 23:54:25 +02:00
Joakim Erdfelt e0e00b0aed 430418 - Jetty 9.1.3 and Chrome 33 permessage-deflate do not work together
+ Updating Compress/PerMessageDeflate extensions for latest spec
  document, http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-18
  Intra-frame tail 0000FFFF is now being preserved for
  permessage-deflate
2014-05-14 13:02:12 -07:00
Simone Bordet a2b6c69525 Fixed field initialization problem. 2014-05-14 21:25:04 +02:00
Simone Bordet be3848a371 433689 - Evict old HttpDestinations from HttpClient. 2014-05-14 11:34:34 +02:00
Simone Bordet a803465551 Invalidating the content decoders in case of Iterator.remove(). 2014-05-14 10:28:45 +02:00
Simone Bordet 521aa1d566 Improved Javadocs. 2014-05-14 09:58:10 +02:00
Joakim Erdfelt cd003dcea0 Adjusting test timeouts for slow systems 2014-05-13 09:23:54 -07:00
Greg Wilkins 51324a2786 434505 Allow property files on start.jar command line
Signed-off-by: Tom Zeller<tzeller@dragonacea.biz>

(cherry picked from commit d621df3c34)

Conflicts:
	jetty-start/src/main/java/org/eclipse/jetty/start/FS.java
	jetty-start/src/main/java/org/eclipse/jetty/start/StartArgs.java
2014-05-13 12:31:06 +02:00
Jan Bartel fb2010177c 434715 Avoid call to ServletHolder.getServlet() during handle() iff servlet is available and instantiated 2014-05-13 11:21:38 +02:00
Joakim Erdfelt 9fb6e96a40 Discard windows specific logger, no longer needed 2014-05-12 16:37:46 -07:00
Joakim Erdfelt 832332aaad 434685 - WebSocket read/parse does not discard remaining network buffer after unrecoverable error case
+ Make all future onFillable events after a fundamental read/parse
  exception discard the network buffer.
2014-05-12 16:36:47 -07:00
Joakim Erdfelt b515da6456 Import cleanup 2014-05-12 12:47:46 -07:00
Joakim Erdfelt 707e9b5dda 434679 - Log static initialization via jetty-logging.properties fails sometimes
+ More cleanup of Log initialization to better use JDK7 features,
  and to not use other parts of Jetty that might initialize Logging
  itself.  As these are the causes of the bad initialization failures.
2014-05-12 12:43:07 -07:00
Joakim Erdfelt 8e3921b615 Setting up windows-7 specific logging for AnnotatedMaxMessageSize test failure 2014-05-12 10:38:20 -07:00