Commit graph

705 commits

Author SHA1 Message Date
Johannes Rudolph
4cbbb7dbad =htc fix WS masking for empty frames on client side 2015-10-09 17:31:22 +02:00
Johannes Rudolph
5e0caf8fe1 +htc allow configuration of random source in Websockets + various cleanups 2015-10-09 17:26:55 +02:00
Johannes Rudolph
435a3387bf =htc cleanup of WS infrastructure 2015-10-09 17:06:53 +02:00
Johannes Rudolph
6aefb35cbe +htc add missing javadsl.Http.outgoingConnectionTls overload + remove extra params 2015-10-09 17:04:54 +02:00
Jesse Haber-Kucharsky
7ae5307b48 =htt #17353 Reduce verbosity of logging on pool shutdown 2015-10-09 10:06:14 -04:00
Konrad Malawski
4e7999cf0a +htc,doc #18657,#18665 FormData javadsl and FormField docs 2015-10-08 16:50:21 +02:00
Konrad Malawski
27eba7ffa3 =doc,htp #18657 document Headers request values 2015-10-08 13:01:25 +02:00
Patrik Nordwall
3081893bfd =doc #18657 Doc host and path directives
* also including docs of RequestVals.matchAndExtractHost
  and RequestVals.matchAndExtractHost
* and add Host.create factory methods
* add missing HttpRequest PATCH and OPTIONS
* change to val in matchAndExtractHost for
  fail fast exception
2015-10-08 11:50:41 +02:00
Konrad Malawski
bdaaad0f3a Merge pull request #18654 from spray/wip-18121-mathias
=htc #18121 enable UTF-8 decoding for HTTP header values
2015-10-07 11:45:51 +02:00
Mathias
3d3fe70293 =htc #18121 enable UTF-8 decoding for HTTP header values
If we detect a potential UTF-8 byte sequence we attempt decoding, otherwise we leave the bytes as they are.
2015-10-06 17:28:15 +02:00
Johannes Rudolph
d1be812e41 =htc fix formatting + typo 2015-10-06 14:57:15 +02:00
Konrad Malawski
e328473f22 Merge pull request #18642 from ktoso/wip-fix-tlsspec-ktoso
=htc #18641 request must be made to the right port
2015-10-06 12:37:40 +02:00
Konrad Malawski
f9909d79ab Merge pull request #18562 from ktoso/wip-illegal-headers-warning-bad-ktoso
=htc #18533 make configuration of parsing less confusing
2015-10-06 10:40:06 +02:00
Konrad Malawski
491c0db19a Merge pull request #18631 from spray/wip-18397-mathias
=htc #18397 fix ArrayIndexOutOfBoundsException in HttpHeaderParser
2015-10-05 12:54:12 +02:00
Konrad Malawski
ca4a4fe273 =htc #18641 request must be made to the right port 2015-10-05 12:17:45 +02:00
Konrad Malawski
7a070a3120 Merge pull request #18580 from spray/wip-18539-mathias
=htc #18539 Fix off-by-one error in response entity parsing
2015-10-05 10:28:52 +02:00
2beaucoup
c14572c21f =htp #18632 check ports of URI and Host header in effectiveUri 2015-10-02 15:06:57 +02:00
Mathias
ffd18fa3c0 =htc #18397 fix ArrayIndexOutOfBoundsException in HttpHeaderParser
This error could occur if the parser sees relatively few, relatively long headers on one connection.
2015-10-02 14:55:25 +02:00
Mathias
78a5a21819 =htc fix off-by-one errors in header name and value length verification 2015-10-02 14:48:15 +02:00
Konrad Malawski
89a8d670c7 Merge pull request #18602 from ktoso/wip-htc-failure-docs-ktoso
+doc,htc #18600,18597 documents where/how to deal with failure in Http
2015-10-02 11:19:47 +02:00
Konrad Malawski
9bd11620f0 +htc add popular ContentType instances for convenience 2015-10-02 11:19:14 +02:00
Endre Sándor Varga
f4b614a186 =str: Optmizing GraphInterpreter 2015-10-01 16:16:42 +02:00
drewhk
e7a14e53a9 Merge pull request #18566 from drewhk/wip-fusable-fanin-fanout-drewhk
Wip fusable fanin fanout drewhk
2015-10-01 15:21:40 +02:00
Endre Sándor Varga
26680c3477 +str: fusable fan-in and fan-out ops 2015-10-01 14:41:33 +02:00
Konrad Malawski
573a69e2b9 +doc,htc #18600,18597 documents where/how to deal with failure in Http 2015-09-29 23:10:00 +02:00
Konrad Malawski
2f2e07666e +htc,java #18600 Add missing convenience ContentTypes class 2015-09-29 20:58:47 +02:00
Mathias
2bb777778d =htc upgrade to updated akka.parboiled internalization 2015-09-29 16:33:54 +02:00
Mathias
3b743b1cd2 =htc #18539 Fix off-by-one error in response entity parsing 2015-09-29 09:07:22 +02:00
pjan vandaele
4dde089d82 Generalised Authentication Directives to accept Bearer Tokens
Make type of credential authentication explicit

Cleanup
2015-09-26 09:40:29 +09:00
Konrad Malawski
cad852025d Actually implement proper cascading 2015-09-25 16:04:44 +02:00
Roland Kuhn
68ba0643d6 =str,htp clean up build warnings
- explicitly provide Unit values and place parens around tuple creation
- remove structural type usage in TestUtils
- fix Java double-casts
- use unused Java values by asserting their non-nullness
- work around inability to place case class in trait (scripted test)

The remaining warnings about using private types in public methods are
bogus as reported in https://issues.scala-lang.org/browse/SI-9490.
2015-09-25 15:20:23 +02:00
Konrad Malawski
b1f9f77a17 =htc #18533 make configuration of parsing less confusing 2015-09-25 13:53:23 +02:00
Endre Sándor Varga
12c9abb8c9 !str #16410 #16597: Removed TimerTransform, added Timeout stages 2015-09-18 12:38:36 +02:00
Konrad Malawski
154bd23b85 =htc #18489 allow infinite value in max-content-length 2015-09-16 15:03:41 +02:00
Johannes Rudolph
a70e37d65c =htc add missing Java model class for ContentTypeRange 2015-09-09 10:28:34 +02:00
Konrad Malawski
6ffd238e68 Merge pull request #18000 from 2beaucoup/minor-test-fix
Reenable and fix tests in ContentNegotiationSpec
2015-08-19 16:57:18 +02:00
Konrad Malawski
9053259fe4 +htc #18250 add HttpEntity#apply(contentType, source) for Chunked 2015-08-18 18:32:08 +02:00
2beaucoup
09f2be5b2e =htp remove printEvent from test 2015-08-17 09:51:32 +02:00
2beaucoup
f6b6ed8638 =htp more newline test fixes 2015-08-17 09:51:25 +02:00
drewhk
343d64050d Merge pull request #18049 from spray/w/16472-max-content-size-for-chunked
=htc #16472 apply max-content-length setting to Chunked and CloseDelimited entities as well
2015-08-14 11:43:46 +02:00
drewhk
9f47102868 Merge pull request #18120 from spray/w/16834-client-side-uri-parsing-mode
+htc #16834 apply uri-parsing-mode setting to header parsing as well
2015-08-14 11:41:02 +02:00
drewhk
a89d7591f8 Merge pull request #18194 from spray/w/18044-fix-http-1.0-500-failures
=htc #18044 fail HTTP/1.0 requests with 400 if no default-host-header is set
2015-08-14 11:39:47 +02:00
Konrad Malawski
f4cd74136f Merge pull request #18171 from spray/w/16583-better-comment
=htc #16583 update comment to point to new issue
2015-08-14 10:55:43 +02:00
Johannes Rudolph
e460a58bc4 =htc move tests keys to src/test/resources (+ fix instructions) 2015-08-13 08:23:16 +02:00
Johannes Rudolph
cf35d1d1dd =htc #18044 fail HTTP/1.0 requests with 400 if no default-host-header is set 2015-08-12 12:29:45 +02:00
drewhk
560785eaaa Merge pull request #18143 from spray/w/http-stack-cleanups
A few HTTP/WS stack cleanups
2015-08-10 16:59:39 +02:00
Johannes Rudolph
2bf99a6d62 =htc #16583 update comment to point to new issue 2015-08-10 16:48:54 +02:00
Johannes Rudolph
3c39f71cba =htc fix scaladoc of Http.bindAndHandle* 2015-08-10 15:33:46 +02:00
Johannes Rudolph
6a2cd34139 =htc restructuring of Websocket stack as stacked BidiFlows 2015-08-07 16:45:41 +02:00
Johannes Rudolph
e34b86ba30 =htc convert request rendering from a stage to a plain function 2015-08-07 12:51:54 +02:00