Commit Graph

5531 Commits

Author SHA1 Message Date
Simone Bordet 566f17fdd0 jetty-9 - HTTP client: reduced test logging. 2012-09-17 16:56:27 +02:00
Simone Bordet 84f40e8519 jetty-9 - Added toString(). 2012-09-17 16:27:59 +02:00
Simone Bordet bc35807525 jetty-9 - Fixed test. 2012-09-17 16:21:53 +02:00
Simone Bordet 89852e0bc8 jetty-9 - Removed dead code. 2012-09-17 16:21:32 +02:00
Simone Bordet 0915b2b0ab jetty-9 - Refactored code that was counting the number of reentrant invocations into a common utility class, ForkInvoker. 2012-09-17 14:39:13 +02:00
Simone Bordet e7db1661c6 jetty-9 - HTTP client: load test. 2012-09-17 11:46:26 +02:00
Simone Bordet fdd65fb2ea jetty-9 - HTTP client: utility class BytesContentProvider. 2012-09-17 11:46:26 +02:00
Simone Bordet d30eefca69 jetty-9 - HTTP client: parsing must be done in a while loop, in case the buffer contains more data. 2012-09-17 11:46:26 +02:00
Simone Bordet 5aed22624f jetty-9 - HTTP client: better logging for HttpExchange. 2012-09-17 11:46:26 +02:00
Simone Bordet 4ea5734ab1 jetty-9 - Avoiding StackOverflowErrors when processing changes. 2012-09-17 11:46:26 +02:00
Simone Bordet 4f1a2990de jetty-9 - Always making SslConnection dispatch completion callbacks to avoid StackOverflowErrors. 2012-09-17 11:46:26 +02:00
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