Commit Graph

5520 Commits

Author SHA1 Message Date
Simone Bordet 5590f21296 jetty-9 - Made HttpParser.shutdownInput() return a boolean to signal whether the message was completed. 2012-09-17 11:46:26 +02:00
Simone Bordet 195f04bdf3 jetty-9 - HTTP client: added tests combining redirect and authentication. 2012-09-17 11:46:26 +02:00
Greg Wilkins fc49783275 jetty-9 improved test 2012-09-17 17:42:55 +10:00
Greg Wilkins 129583679a jetty-9 javadoc improvements and renamed SelectChannelConnector to ServerConnector 2012-09-17 17:37:56 +10:00
Greg Wilkins b3381b4996 jetty-9 QueuedThreadPool creates new threads when idleThreads goes to 0 2012-09-17 17:36:48 +10:00
Jan Bartel c5395cff85 389452 if web-fragment metadata-complete==true still scan its related jar if there there is a ServletContainerInitializer, ensure webapp restarts work 2012-09-17 17:13:20 +10:00
Jesse McConnell 9e622be846 bit of renaming and some initial adjustment for linux 2012-09-14 18:04:18 -05:00
Jesse McConnell c5ba430864 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-14 17:54:45 -05:00
Jesse McConnell 8bbfd3be4c setuid passing test on osx 2012-09-14 17:54:35 -05:00
Joakim Erdfelt 4936f12fbd Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-14 15:11:14 -07:00
Joakim Erdfelt 515804a463 Fixing connection.onOpen() 2012-09-14 15:10:54 -07:00
Jesse McConnell 7ea30a07e6 remove antrun plugin usage \o/ 2012-09-14 17:03:52 -05:00
Jesse McConnell 1aee1a1855 works with clean target now 2012-09-14 17:00:35 -05:00
Joakim Erdfelt 859d4a09d3 Fixing test expectations 2012-09-14 14:47:27 -07:00
Joakim Erdfelt 7ab495515a Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-14 14:41:09 -07:00
Joakim Erdfelt 5ebc784b45 cleaning up test logging output 2012-09-14 14:41:03 -07:00
Simone Bordet 8330586c4e jetty-9 - HTTP client: implemented dumping. 2012-09-14 23:30:21 +02:00
Simone Bordet ae9b32ba57 jetty-9 - Avoid to print one last empty line after each collection, since they are already separated by indentation. 2012-09-14 23:30:21 +02:00
Simone Bordet 4ffe66f899 jetty-9 - HTTP client: better cleanup at stop. 2012-09-14 23:30:21 +02:00
Simone Bordet 88cbfed7e0 jetty-9 - Made SelectorManager.connection[Opened|Closed]() concrete, since they are overridden only by SelectChannelConnector. 2012-09-14 23:30:21 +02:00
Simone Bordet 3be83efbae jetty-9 - Calling connectionOpened() to trigger the necessary call to connection.onOpen(). 2012-09-14 23:30:21 +02:00
Simone Bordet cf3f12297f jetty-9 - Cosmetics. 2012-09-14 23:30:21 +02:00
Jesse McConnell daeb6f1bf0 [Bug 389639] set plugin version for jetty-jspc-maven-plugin 2012-09-14 15:34:24 -05:00
Jesse McConnell f0a022ed54 compiling the setuid goop on osx now 2012-09-14 14:40:22 -05:00
Jesse McConnell 8fd40a3097 adjust the mortbay-eclipse.jetty in c file, and pom tweaks 2012-09-14 14:28:29 -05:00
Jesse McConnell 38bc38f59e clean up parent pom a bit 2012-09-14 14:03:08 -05:00
Jesse McConnell 332a256497 call start() on connector as opposed to open in setuid server, adjust dep for test with profile 2012-09-14 14:00:30 -05:00
Jesse McConnell 44885bcfd2 call start() on connector as opposed to open in setuid server, adjust dep for test with profile 2012-09-14 14:00:08 -05:00
Joakim Erdfelt 6ebd96e9bd Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-09-14 10:41:23 -07:00
Joakim Erdfelt c7404731c9 Starting removal of WebSocketPolicy.getBufferSize() 2012-09-14 10:41:11 -07:00
Simone Bordet e80430fbc2 jetty-9 - HTTP client: improved HttpExchange.complete*() to return a Result that remembers
request failures and response failures.
Also improved many tests to avoid random failures.
2012-09-14 16:16:14 +02:00
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