Commit Graph

11387 Commits

Author SHA1 Message Date
Jan Bartel ac416d21e8 481203 Add ability to set configurations to apply to WebAppContext for jetty-maven-plugin 2015-11-02 12:36:39 +11:00
Simone Bordet 73f4c590d5 479378 - Incorrect REQUEST_URI.
Introduced parameter "originalURIAttribute" to retrieve the original
URI. The RewriteHandler has the ability to save the original URI in
a request attribute, so we just need to be able to retrieve it in the
FastCGIProxyServlet to set the correct REQUEST_URI.
2015-10-30 16:21:09 +01:00
Simone Bordet 45cd1f1ce6 Improved thread safety. 2015-10-30 11:17:28 +01:00
Jan Bartel b74a89bcb9 479865 IllegalStateException: Multiple servlets map to path: *.jsp: jsp,jsp 2015-10-28 16:53:26 +11:00
Simone Bordet 4134b1eca8 419966 - Add ContentProvider that submits multipart/form-data.
Implemented this functionality.
2015-10-27 15:32:26 +01:00
Simone Bordet 487d0f2d5c 480764 - Error parsing empty multipart.
Fixed by checking the presence of the last boundary as the first line.
2015-10-27 15:29:56 +01:00
Simone Bordet 0979125295 Improved logging of FastCGI variables sent to the server. 2015-10-26 17:59:07 +01:00
Simone Bordet 1ab64ed080 Fixed test.
Made sure that read interest or upgrade only happen after the write
has completed.
2015-10-26 12:34:17 +01:00
Simone Bordet 08c59628c9 Added FastCGI transport to HttpClientTransport tests. 2015-10-26 11:01:09 +01:00
Greg Wilkins 9a66395f0c Fixed demobase example xml 2015-10-26 09:45:28 +11:00
Greg Wilkins c0e6e66b49 Added CachingWebAppClassLoader 2015-10-26 09:10:55 +11:00
Simone Bordet 5cf6629385 480452 - Large downloads via FastCGI proxy keep HttpClient connections active.
Fixed by returning false from ResponseContentParser.ResponseParser
.messageComplete(), so that the FastCGI parsing can continue and
parse the END_REQUEST frame.
2015-10-22 20:49:48 +02:00
Simone Bordet e5e3b05817 Javadocs. 2015-10-22 20:49:48 +02:00
Simone Bordet 53df0cba3f Avoid to dump the destinations twice. 2015-10-22 20:49:48 +02:00
Greg Wilkins 746c556c94 Added ASYNC to default DispatcherTypes in rewriteHandler 2015-10-22 23:34:47 +11:00
Simone Bordet 03b994a32c Fixed HttpDestination lifecycle. 2015-10-21 17:10:26 +02:00
Simone Bordet 3fc6320881 Using EndPoint.upgrade() in client code when connections are upgraded
and removed ClientConnectionFactory.Helper.
2015-10-21 14:32:37 +02:00
Greg Wilkins 20072252c0 Set jetty home/base for GlobalWebappConfigBinding 2015-10-21 16:56:58 +11:00
Jan Bartel 781a380fbd 480272 Update to newer jdt ecj version 2015-10-21 15:25:24 +11:00
Greg Wilkins c156f6593c 480162 - Continuations behavior differences due to HttpURI behavior
reverted 3e460dd219
added test clarifications
2015-10-21 15:18:12 +11:00
Simone Bordet cbb7be040f 480260 - HPack decode error for buffers with offset.
Fixed calculations to advance the ByteBuffer.
2015-10-20 23:19:10 +02:00
Joakim Erdfelt a01565fbc4 478757 - DebugHandler thread name is mangled
+ Removing scheme check, now that HttpURI is sane
2015-10-20 11:56:43 -07:00
Joakim Erdfelt 3e460dd219 480162 - Continuations behavior differences due to HttpURI behavior
+ When fixing URI.absolute with authority, default to scheme 'http'
  (allowing things like SecureRequestCustomizer to change it again
   to 'https')
2015-10-20 11:55:45 -07:00
Joakim Erdfelt 22573be353 Fixing format error on toString() 2015-10-20 11:28:19 -07:00
Joakim Erdfelt 8eda037de0 Merge branch 'jetty-9.3.x' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9.3.x 2015-10-19 11:59:21 -07:00
Joakim Erdfelt 435ce8c3ab 478757 - DebugHandler thread name is mangled
+ Replicating reopened bug with double-scheme https
  in testcase
+ Adding safety check for https in thread name determination
2015-10-19 11:58:04 -07:00
Simone Bordet a6ba51fe24 Deprecated ConnectionPool. 2015-10-19 18:13:12 +02:00
Simone Bordet 3c26ffb227 480061 - HTTP/2 server doesn't send GOAWAY frame when shutting down.
Fixed by overriding Connection.close() and sending the GOAWAY from
there, which is triggered when the SelectorManager stops.

This allowed simplification of client code too.
2015-10-19 12:18:01 +02:00
Greg Wilkins 570c751ec8 479179 Fixed NPE from debug 2015-10-17 09:37:43 +11:00
Jan Bartel 27a41a4f77 479839 Regression when starting application with excessive scan times 2015-10-16 15:16:43 +11:00
Jan Bartel e00b56967a 479832 Use system properties for gcloud config for GCloudDatastore session manager 2015-10-15 19:43:34 +11:00
Jan Bartel 71bd387a58 472675 No main manifest attribute, in jetty-runner regression 2015-10-15 10:10:06 +11:00
Greg Wilkins d7121881b3 479712 Documented --approve-all-licenses 2015-10-15 09:46:23 +11:00
Greg Wilkins 7c509b4d8c Revert "479712 Added --yes to start.jar"
This reverts commit 4560dabfc2.
2015-10-15 09:40:53 +11:00
Greg Wilkins 4560dabfc2 479712 Added --yes to start.jar 2015-10-14 18:24:58 +11:00
Joakim Erdfelt 28daeb912d Merge branch 'release-9.3.5' into jetty-9.3.x 2015-10-13 09:07:50 -07:00
Joakim Erdfelt 785167a010 Bumping up gcloud to 9.3.5-SNAPSHOT 2015-10-13 08:39:58 -07:00
Joakim Erdfelt 29d63b41b1 Merge branch 'jetty-9.2.x' into jetty-9.3.x
Conflicts:
	jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorHttpServerTest.java
2015-10-13 08:39:45 -07:00
Joakim Erdfelt b02783220e Renaming old 'SelectChannel*' test for new naming scheme 2015-10-13 08:10:16 -07:00
Joakim Erdfelt dde32787c4 Updating to version 9.3.6-SNAPSHOT 2015-10-12 15:47:37 -07:00
Joakim Erdfelt 29722bd880 Updating to version 9.3.5.v20151012 2015-10-12 15:10:39 -07:00
Mike Jensen 5b0427f9cc Fix defect in DoSFilter where semaphore acquires my be leaked
When trying to release the semaphore in the finally block, 'asyncContext.dispatch()' may throw a "RejectedExecutionException".  If this occurs, then the semaphore will never be released.
Ultimately the condition will result in all threads blocking to acquire the semaphore as the DoSFilter is continue to be used.

https://github.com/eclipse/jetty.project/pull/54

Signed-off-By: jentfoo@gmail.com
2015-10-13 08:46:25 +11:00
Greg Wilkins ff8c932b0f Merge branch 'jetty-9.3.x' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9.3.x 2015-10-13 08:37:42 +11:00
Jan Bartel 84ef692be5 Merge branch 'gcloud-session-manager' into jetty-9.3.x 2015-10-13 08:36:36 +11:00
btpka3 b0682ed423 allow non root user load config from /etc/default/
https://github.com/eclipse/jetty.project/pull/37

Signed-off-by: btpka3 <btpka3@163.com>
2015-10-13 08:36:30 +11:00
Jan Bartel 73de40921c Merge branch 'jetty-9.3.x' into gcloud-session-manager 2015-10-13 08:35:50 +11:00
btpka3 dfd32e6790 execute throuth ssh without hanging
`ssh root@192.168.1.100 "service jetty restart"` will not exit after start.
https://github.com/eclipse/jetty.project/pull/36

Signed-off-by: btpka3 <btpka3@163.com>
2015-10-13 08:33:59 +11:00
btpka3 422be53960 Allow JETTY_USER to run without `su`
https://github.com/eclipse/jetty.project/pull/35

Signed-off-by: btpka3 <btpka3@163.com>
2015-10-13 08:30:42 +11:00
Joakim Erdfelt 06593a546c Using 8.0.27 release 2015-10-12 13:15:19 -07:00
Joakim Erdfelt e6ffa35b2c 479584 - WS Session does not contain UpgradeRequest information in WebSocketAdapter.onWebSocketConnect callback
+ Adding missing testcase
+ Adding missing request information
2015-10-12 11:19:50 -07:00