Commit graph

687 commits

Author SHA1 Message Date
Viktor Klang
4c4a7b0c7f =htt - Improve stability of ClientServerSpec 2015-11-01 00:55:55 +01:00
Konrad Malawski
20f54435f1 Merge pull request #18770 from ktoso/wip-idleTimeout-ktoso
idleTimeout in HTTP
2015-10-29 14:16:16 -07:00
Konrad Malawski
2c2228c241 =str #16597 initial steps with idleTimeout 2015-10-27 13:55:18 -07:00
Roland Kuhn
e331e390d3 Merge pull request #18752 from 2beaucoup/missing-reason-phrase
=htp #17971 parse responses with missing reason phrase
2015-10-26 22:15:17 +01:00
Konrad Malawski
99a9c5964e =str #18763 remove unused parameter in PoolConductor 2015-10-26 11:13:53 -07:00
Konrad Malawski
79347ba274 Merge pull request #18784 from akka/wip-18781-√
+htt - 18781 - Fixes a SOE in javadsl.HttpsContext.create
2015-10-26 09:45:24 -07:00
Viktor Klang
e78eb54b43 +htt - 18781 - Fixes a SOE in javadsl.HttpsContext.create 2015-10-26 17:02:18 +01:00
Roland Kuhn
0c78cca7ed !str #18674 remove FlowGraph.Builder.add(Sink|Source) 2015-10-26 12:31:17 +01:00
Viktor Klang
f29d7affbd !str #18692 javadsl.FlowGraph.Builder.add()
* also make factories more consistent by only offering
  FlowGraph.create()
* also remove secondary (edge-based) FlowGraph.Builder DSL
* also improve naming for conversions from Graph to
  Source/Flow/BidiFlow/Sink
2015-10-22 19:10:00 +02:00
Konrad Malawski
0f99a42df9 Merge pull request #18750 from spray/w/18628-errors-from-ws-handler
Fix #18628 and other smallish WS changes
2015-10-22 12:55:43 +02:00
Johannes Rudolph
a283f43d1b =htc log error if user handler fails 2015-10-22 11:15:43 +02:00
Mathias
ff7d644fd6 =htc #17344 Error-close client-side response stream if there are responses pending at connection end 2015-10-22 09:38:03 +02:00
Johannes Rudolph
abe0123a92 =htp #18759 fix accidental recursive loop in java WebsocketUpgradeResponse 2015-10-22 09:15:22 +02:00
Johannes Rudolph
c040e2b69e !htc move scala side WebsocketUpgradeResponse to scaladsl.model.ws
This makes it consistent with the java side and cleans up scaladsl.Http.
2015-10-22 09:15:22 +02:00
Johannes Rudolph
4a5610e282 =htc #18628 WS: report proper close code when user handler fails 2015-10-22 09:15:20 +02:00
Johannes Rudolph
741d37a5bb +htc report peer close reasons to the user with custom exception 2015-10-22 09:14:35 +02:00
Johannes Rudolph
5d766749d3 =htc use automatic probes in MessageSpec 2015-10-22 09:08:05 +02:00
Roland Kuhn
692a73724f Merge pull request #18605 from akka/wip-HTTP-graphs-∂π
=htp replace all FlexiMerge/Route with GraphStage
2015-10-21 22:02:57 +02:00
Roland Kuhn
02810cfa64 !str,htc remove FlexiMerge/Route
- replace all occurrences with equivalent GraphStage implementations

This commit introduces a mini-DSL for GraphStage that allows emitting or
reading multiple elements to/from a port with one statement, installing
stateful handlers on the port to make it work. The emitting side allows
stacked continuations, meaning that while an emit() is ongoing (waiting
for demand) another one can be added to the queue; this allows
convenient formualation of merge-type stages.
2015-10-21 18:52:16 +02:00
Roland Kuhn
dc07fd250c !str make Inlet/Outlet invariant and add Java variance
This necessitates the removal of method overloading in the Java Graph
DSL: the to() and via() methods were not otherwise resolved correctly by
javac, leading to incomprehensible error messages. The new approach is
to offer just one way of doing things which is a bit more verbose but
should be easier to read and learn. In this vein auto-importing while
using the DSL is also gone for Java—not sure about Scala yet.
2015-10-21 17:48:54 +02:00
Roland Kuhn
142ffea52b Merge pull request #18667 from analytically/release-2.3-dev
=htc accept entity for DELETE and GET methods
2015-10-21 17:44:27 +02:00
2beaucoup
9ba7468d7e =htp #17971 parse responses with missing reason phrase 2015-10-21 13:23:56 +02:00
Konrad Malawski
c6a5864e25 Merge pull request #18690 from hakuch/17353-verbosity-hakuch
=htt #17353 Reduce verbosity of logging on pool shutdown
2015-10-20 14:55:16 +02:00
Konrad Malawski
b8ea349c3a Merge pull request #18693 from spray/w/17275-squashed
#17275 Websocket Client implementation
2015-10-19 13:26:09 +02:00
Johannes Rudolph
ddc8cd804b =htc move Sec-WebSocket-Key creation/validation to header model 2015-10-19 09:19:23 +02:00
Johannes Rudolph
f6732f3369 =htc server side handshake cleanup and clarifications 2015-10-19 09:19:22 +02:00
Johannes Rudolph
d4b5f29c57 +htc #17275 Java-side of Websocket client API 2015-10-19 09:19:22 +02:00
Johannes Rudolph
00b4eefab5 !htc #17275 encapsulate Websocket request arguments in new WebsocketRequest class 2015-10-19 09:02:05 +02:00
Johannes Rudolph
08aa903408 =htc Websocket Autobahn Suite test runners and documentation 2015-10-19 09:02:05 +02:00
Johannes Rudolph
870ff2bbdc +htc #17275 Websocket client implementation 2015-10-19 09:02:05 +02:00
Johannes Rudolph
11e593a1fa =htc introduce ByteStringSinkProbe and update tests to new infrastructure 2015-10-19 09:02:05 +02:00
Mathias Bogaert
f1bd3b9da7 =htc accept entity for DELETE and GET methods 2015-10-12 16:10:51 +01:00
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