5489 Commits

Author SHA1 Message Date
Simone Bordet
8c9f097666 jetty-9 - Throwing EofException when trying to flush after output shutdown.
When the output is shutdown, field _cannotAcceptMoreAppDataToFlush is set to true,
indicating that no more flush() calls are accepted.
However, a further call to flush() was reading _cannotAcceptMoreAppDataToFlush and
just returning false, leaving writes in pending state but without chance to be completed.
Now, if we detect _cannotAcceptMoreAppDataToFlush==true in flush(), we check
whether the output was shutdown; if it is the case, we throw an EofException to signal
to the application that it cannot write because the connection is already closed.
2012-09-14 15:20:10 +02:00
Simone Bordet
655a313fdf jetty-9 - Improved logging. 2012-09-14 15:09:22 +02:00
Greg Wilkins
22ba57b8d2 jetty-9 refactored onOpen and onClose 2012-09-14 17:38:47 +10:00
Jan Bartel
394c478b19 389452 if web-fragment metadata-complete==true still scan its related jar if there there is a ServletContainerInitializer
Also some refactoring to simplify scanning for annotations/classes.
2012-09-14 16:51:53 +10:00
Simone Bordet
fb2ca29364 jetty-9 - HTTP client: updated to work also with SSL. 2012-09-14 00:38:25 +02:00
Simone Bordet
b264f20dc9 jetty-9 - Removed the write of an empty buffer from onOpen().
SslConnection should remain as passive as possible, with the next connection driving the activity.
If client connections need to drive the SSL handshake with an empty write, they should do it, and
not SslConnection.
2012-09-14 00:38:25 +02:00
Simone Bordet
24cbb6385b jetty-9 - Just returning in case we want to fail an already failed write flusher. 2012-09-14 00:38:25 +02:00
Jesse McConnell
6a851b5a52 fix path in xml 2012-09-13 17:36:29 -05:00
Jesse McConnell
0a475d034b Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-13 17:32:57 -05:00
Jesse McConnell
cb33d2db18 adding in the jetty-setuid setup from codehaus, java source needs updated to new connector setup and need to finish wiring up the per platform builds once that is done 2012-09-13 17:32:51 -05:00
Joakim Erdfelt
44b963e7b8 Fixing typo 2012-09-13 10:17:30 -07:00
Joakim Erdfelt
12470a2715 Introduce SocketBased, and squelching logging on tests 2012-09-13 08:51:45 -07:00
Simone Bordet
6f8ebc1450 jetty-9 - HTTP client: javadocs. 2012-09-13 16:02:58 +02:00
Simone Bordet
5315a6dcff jetty-9 - HTTP client: implemented abort of request and responses. 2012-09-13 16:02:57 +02:00
Simone Bordet
b5a329ecaf jetty-9 - HTTP client: implemented followRedirect functionality. 2012-09-13 16:02:57 +02:00
Simone Bordet
6be8ce9e26 jetty-9 - HTTP client: renamed class. 2012-09-13 16:02:57 +02:00
Simone Bordet
312785eb7b jetty-9 - HTTP client: javadocs. 2012-09-13 16:02:57 +02:00
Greg Wilkins
c7c9c35fee jetty-9 remove leftover debug 2012-09-13 20:12:57 +10:00
Greg Wilkins
e9d7cc3cab Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-13 17:06:46 +10:00
Jan Bartel
944b23240e 388706 Avoid unnecessary indirection through Charset.name 2012-09-13 17:03:10 +10:00
Simone Bordet
b85077ea18 jetty-9 - Added copyright headers. 2012-09-13 09:02:01 +02:00
Simone Bordet
d0d5a422a5 jetty-9 - HTTP client: Improved test disposal. 2012-09-13 09:01:06 +02:00
Simone Bordet
c16778eb48 jetty-9 - HTTP client: more logging. 2012-09-13 09:01:06 +02:00
Simone Bordet
f5d68f0caf jetty-9 - HTTP client: implemented digest authentication. 2012-09-13 09:01:06 +02:00
Simone Bordet
52accdf761 jetty-9 - HTTP client: temporary commit. 2012-09-13 09:01:06 +02:00
Simone Bordet
772fa55b99 jetty-9 - HTTP client: Using standard Jetty SecurityHandler for authentication tests. 2012-09-13 09:01:06 +02:00
Greg Wilkins
35a86c3373 jetty-9 more configuration clean ups 2012-09-13 16:49:15 +10:00
Greg Wilkins
e596d6eef6 jetty-9 more xml configuration 2012-09-13 15:30:07 +10:00
Greg Wilkins
9940796a32 jetty-9 xml configurations 2012-09-13 14:43:03 +10:00
Jan Bartel
e1e321a243 Merge remote-tracking branch 'origin/master' into jetty-8 2012-09-13 14:10:01 +10:00
Jan Bartel
0035343af3 388675 Non utf8 encoded query strings not decoded to parameter map using queryEncoding 2012-09-13 13:35:27 +10:00
Jan Bartel
7af01587a8 389390 AnnotationConfiguration is ignored if the metadata-complete attribute is present in an override descriptor regardless of the value 2012-09-13 11:29:36 +10:00
Greg Wilkins
c709981aa5 jetty-9 finished refactor for oneconnector and configuration pluggability 2012-09-13 10:00:44 +10:00
Greg Wilkins
a41b6e32ac Merge branch 'jetty-9-configuration' into jetty-9
Conflicts:
	jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java
2012-09-13 08:22:06 +10:00
Greg Wilkins
b3e8f91026 jetty-9 flush returns boolean to say completely flushed or not 2012-09-13 08:11:05 +10:00
Greg Wilkins
79caf45604 Merge branch 'jetty-9' into jetty-9-configuration
Conflicts:
	jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java
2012-09-12 23:11:12 +10:00
Greg Wilkins
427a01855c jetty-9 WriteFlusher handlers buffering endpoints 2012-09-12 23:06:19 +10:00
Joakim Erdfelt
2d070970b8 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-10 15:15:49 -07:00
Joakim Erdfelt
550f0d28f6 attempting to address the SCEPSslTest.testWriteBlocked() failures 2012-09-10 15:15:31 -07:00
Greg Wilkins
26f5ffc459 jetty-9 improve SslConnection toString 2012-09-11 08:04:33 +10:00
Simone Bordet
a51e6a2cb5 jetty-9 - HTTP client: Reverted change to logging file (was not the right logging file). 2012-09-10 23:11:32 +02:00
Jesse McConnell
e7f1743dd4 Merge branch 'release' 2012-09-10 16:10:54 -05:00
Jesse McConnell
c7f8bdfee8 prep for dev 2012-09-10 16:10:42 -05:00
Simone Bordet
2d944f61b1 jetty-9 - HTTP client: Reduced test logging. 2012-09-10 23:08:06 +02:00
Jesse McConnell
73f0730de1 Merge branch 'release-8' into jetty-8 2012-09-10 15:40:24 -05:00
Jesse McConnell
ff2b988eff prep for dev 2012-09-10 15:40:04 -05:00
Jesse McConnell
a8994178f5 [maven-release-plugin] prepare for next development iteration 2012-09-10 14:18:11 -05:00
Jesse McConnell
92180a9700 [maven-release-plugin] prepare release jetty-7.6.7.v20120910 jetty-7.6.7.v20120910 2012-09-10 14:18:01 -05:00
Jesse McConnell
10e4027579 [maven-release-plugin] prepare for next development iteration 2012-09-10 13:59:34 -05:00
Jesse McConnell
57a6258f96 [maven-release-plugin] prepare release jetty-8.1.7.v20120910 jetty-8.1.7.v20120910 2012-09-10 13:59:10 -05:00