Commit Graph

12250 Commits

Author SHA1 Message Date
Greg Wilkins 84efe1e438 increased test idletimeout 2016-08-05 14:11:30 +10:00
Andriy Rosa 1d968ef53a HttpOtput: fix async write for heap ByteBuffer (#811)
* Remove unused imports

Signed-off-by: arhimondr <andriyrosa@gmail.com>

* Improve HttpOtputTest

HttpOutputTest gives false positive results for couple of tests
(testAsyncWriteBufferLargeHEAD, testAsyncWriteBufferLarge). This happens
because only the tail of the response is being checked, and that fact that
the beginning of the response in not being sent is ignored.

For regular encoding responses it is easy to check that the entire content is
received by checking it with `response.endWith(expectedContent)`. However
for chunked responses extra parsing is required to check the content in such way.
For the sake of code simplicity only start and end of the response is being checked
for the chunked encoded responses.

Signed-off-by: arhimondr <andriyrosa@gmail.com>

* Add testAsyncWriteBufferLargeDirect test to HttpOutputTest

Just to verify that everything is right when sending native buffers
asynchronously instead of heap ones.

Signed-off-by: arhimondr <andriyrosa@gmail.com>

* HttpOtput: fix async write for heap ByteBuffer

Fix bug when asynchronous writes of Heap ByteBuffer were ignored.

ByteBuffer position was moved to the end in the constructor,
then in the `process` method `if (_buffer.hasRemaining())` condition
was always evaluated to `false` and the actual write was not performed.

Add assertion in `HttpOutputTest` to verify that after the asynchronous
write position of the buffer is always at the end.

Signed-off-by: arhimondr <andriyrosa@gmail.com>
2016-08-05 08:51:10 +10:00
Greg Wilkins 12804a16f5 Fixed git issue references 2016-08-04 11:02:39 +10:00
Jesse McConnell 4bf885cedd Issue #56 - address users issues with ldap login 2016-08-03 16:59:17 -05:00
Jan Bartel 4b920622d5 Issue #797 2016-08-03 18:33:53 +10:00
Greg Wilkins d57a11668d Issue #798 Sporadic async IO failure 2016-08-03 17:22:31 +10:00
Greg Wilkins a1885afff8 fix #804 by removing old javadoc reference to org.eclipse.jetty.util.URI.charset 2016-08-03 09:17:15 +10:00
Jesse McConnell 131be3894b Merge pull request #800 from WalkerWatch/docupdate/JettyandMaven
Jetty and Maven updates.
2016-08-02 14:47:33 -05:00
Greg Wilkins c07d383e5f Fixed comment in issue #782 2016-08-02 16:16:41 +10:00
Greg Wilkins 83483e1f69 Response.reset does not clear session cookie #789
Added unit test
2016-08-02 13:49:05 +10:00
Greg Wilkins 53a1b8f995 OSGI MimeTypes resource #797
Pass MimeTypes.class as the classloader source.  
No unit test to confirm the fix.
2016-08-02 12:48:50 +10:00
WalkerWatch 271728ef7d Jetty and Maven updates.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-08-01 17:55:54 -04:00
Jesse McConnell 6516ee1266 Merge pull request #791 from WalkerWatch/docupdates/Chapter22
Chapter 22 revisions and misc adoc updates.
2016-07-29 16:12:56 -05:00
WalkerWatch 5edc2a0bb3 Chapter 22 revisions and misc adoc updates.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-07-29 16:40:25 -04:00
Simone Bordet 2cdea3601b Fixes #790 - AsyncContentListener semantic broken with HTTP/2 transport.
Now using an IteratingCallback to buffer DATA frames and delivering
their content respecting AsyncContentListener semantic.
2016-07-29 12:08:55 +02:00
Greg Wilkins e0a1a1988f Response.reset does not clear session cookie #789 2016-07-29 16:45:09 +10:00
Greg Wilkins ad93923e1d Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-07-29 16:43:04 +10:00
Greg Wilkins 23cb28e856 improved debug logging of request/response 2016-07-29 12:34:12 +10:00
Joakim Erdfelt a4601143ee Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-07-28 12:40:18 -07:00
Joakim Erdfelt 27a35ecd03 updating compact3 2016-07-28 12:21:20 -07:00
Joakim Erdfelt 2830e51e04 Merge branch 'jetty-9.3.x' into release-9.3.11 2016-07-28 12:20:36 -07:00
Joakim Erdfelt 6fb03201f8 Adding permgen setting to java env 2016-07-28 12:11:43 -07:00
Joakim Erdfelt 428be69dc0 Adding Jenkinsfile for 9.2.x 2016-07-28 12:00:24 -07:00
Jesse McConnell b45fbbfd04 Merge pull request #781 from WalkerWatch/docupdates/Chapter20
Chapter 20 cleanup.
2016-07-28 12:19:21 -05:00
Jesse McConnell 6655e7ab64 Merge pull request #779 from WalkerWatch/issues/761
Resolves #761
2016-07-28 12:18:53 -05:00
Greg Wilkins 35c21d7ced Utility improvements
Add Arrays
XML config get class
2016-07-28 16:50:12 +10:00
Jan Bartel 06e610218b Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-07-28 15:36:33 +10:00
Jan Bartel 6a17019235 Issue #785 2016-07-28 15:36:02 +10:00
Greg Wilkins ffb52a948b Buffering Response Handler #786 2016-07-28 15:05:44 +10:00
Jan Bartel c9842c7794 Issue #784
Add a unit test to try to reproduce.
2016-07-28 15:04:40 +10:00
WalkerWatch 431d2fb016 Chapter 20 cleanup.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-07-27 13:29:12 -04:00
Joakim Erdfelt 44f64419d8 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-07-27 09:31:41 -07:00
Joakim Erdfelt b3d25183b5 Fixes #780 - The moved websocket PathSpec is incompatible with cometd 3.0.x 2016-07-27 09:31:11 -07:00
WalkerWatch 98005ea9ab Resolves #761
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-07-27 07:58:24 -04:00
Greg Wilkins 32e2ee8cb9 start property for stopTimeout #774 2016-07-27 14:12:46 +10:00
Niels Basjes 117cbc2bd1 Fix NCSA request log in case of missing useragent. (#770)
Signed-off-by: Niels Basjes <niels@basjes.nl>
2016-07-27 10:32:31 +10:00
WalkerWatch 1d0c43548a Updates to Servlets/Filters/Handlers in Chapter 17. (#771)
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-07-27 10:29:40 +10:00
WalkerWatch 5a1263b4bd Docupdates/jetty runner (#772)
* Updates to Servlets/Filters/Handlers in Chapter 17.

Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Jetty Runner doc updates.

Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-07-27 10:28:40 +10:00
Joakim Erdfelt 62ff196b43 Fixing compact3 build 2016-07-26 13:21:05 -07:00
Joakim Erdfelt 4b9b7b746e Removing duplicate dependency-plugin reference 2016-07-26 13:11:26 -07:00
Joakim Erdfelt fbb00373f9 Correcting pom version 2016-07-26 11:38:14 -07:00
Joakim Erdfelt d3b9157217 Updating maven builds to be batchless, fixing test stage 2016-07-26 10:40:46 -07:00
Joakim Erdfelt 3b907b274c Upgrading version of maven-dependency-plugin 2016-07-26 10:40:29 -07:00
Joakim Erdfelt 7728e73bd4 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-07-26 07:25:37 -07:00
Joakim Erdfelt a707ec2b3c Tweaking compile & testing 2016-07-26 07:25:23 -07:00
Jesse McConnell 0adee58367 Merge pull request #769 from WalkerWatch/jetty-9.3.x
Fixing doc rendering issue.
2016-07-26 07:51:46 -05:00
Jesse McConnell 043b494c57 Merge pull request #763 from WalkerWatch/docupdates/chapter17
Chapter 17 cleanup.
2016-07-26 07:51:38 -05:00
WalkerWatch 288ebe8d30 Fixing doc rendering issue.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-07-26 08:48:03 -04:00
Joakim Erdfelt aa86d120e5 Adding scm checkout 2016-07-25 16:10:46 -07:00
Joakim Erdfelt f4febec6ce Correcting quotes 2016-07-25 16:08:19 -07:00