Commit graph

775 commits

Author SHA1 Message Date
Konrad Malawski
6e1b32e6ea htp #20214 more docs on https context configuring 2016-04-09 02:30:28 +02:00
Konrad Malawski
4750698a03 htp #20214 allow workaround for disabling SNI 2016-04-08 15:43:10 +02:00
Samuel Tardieu
81579bd403 =htc #20080,#20081,#20082 Simplify pool gateway synch
* Rewrite the pool gateway synchronization

Rewrite the pool gateway synchronization so that:
- The documented race condition in PoolInterfaceActor is gone. No
  PoolInterfaceActor will receive new requests after the gateway
  shutdown has been initiated (fix #20081).
- A gateway created using newHostConnectionPool will no longer
  share its pool with others even when it has been shutdown
  due to idle-timeout and recreated. Also, its original
  materializer will be used to create all the successive
  pools incarnations (fix #20080).
- Collapsing chains of gateways do no longer need to be created.
  The gateways are now only an entrypoint to the pool master
  actor, and this actor is in charge of keeping a cache of
  currently active pools and recreate them from the information
  given by the gateway when needed.

* Add copyright header

* Mark PoolMasterActor as INTERNAL API

* Larger outer timeout

* Define Props in PoolMasterActor object

* Comment INTERNAL API

* Remove unused import
2016-04-08 15:26:42 +02:00
2beaucoup
78b88c419d =htc #20236 enable streaming responses with Connection: close (#20254) 2016-04-07 19:15:18 +02:00
Bernard Leach
7d00d4194f =htc #19834 replace StreamUtils.identityFinishReporter with Flow.watchTermination 2016-04-07 08:26:31 +10:00
Bernard Leach
f24b227586 =htc Refactor StreamUtils.identityFinishReporter to Future[Done] 2016-04-06 23:37:01 +10:00
Bernard Leach
174f812e99 Refactor anon GraphStageWithMaterializedValue to object 2016-04-06 23:28:48 +10:00
Bernard Leach
7357571c82 =htc #19834 convert StreamUtils.identityFinishReporter to GraphStage 2016-04-06 20:35:43 +10:00
Alan Johnson
b3c85512a3 htp #19678 add variadic concat route combinator
* add variadic route concatenation function

* add `concat` to `~` warning bubble in docs

* fix grammar of warning bubble, and clarify
2016-04-05 15:36:46 +02:00
Bernard Leach
09d5072f2c =htc #16394 Remove StreamUtils.recover, Flow.recover is now available 2016-04-05 14:25:07 +02:00
Bernard Leach
d9f82d71eb htc #19834 convert streamutils to GraphStages graphstage
* =htc #19834 replace byteStringTransformer with GraphStage implementation

* =htc #19834 replace mapErrorTransformer with GraphStage implementation

* htc #19834 replace sliceBytesTransformer with GraphStage implementation

* htc #19834 inline mapErrorTransformer with simple recover Flow
2016-04-05 14:02:40 +02:00
Bernard Leach
4a8018f63f =htc #19834 Replaced PushStage based captureTermination with GraphStage
* Move promise completion success into postStop to simplify impl
2016-04-04 13:37:09 +02:00
Nafer Sanabria
b6b017902f Remove 'the' duplicates 2016-03-31 16:20:15 -05:00
Patrik Nordwall
bc660a7403 Merge pull request #20085 from agolubev/19834-Replace-UTF8Encoder-with-GraphStage
=str #19834 Replave UTF8Encoder with GraphStage
2016-03-31 20:45:45 +02:00
Patrik Nordwall
6675f68bf7 Merge pull request #20060 from leachbj/fix-19953-bl
=htc #19953 Complete Promise in captureTermination onDownstreamFinish
2016-03-31 17:58:53 +02:00
Alexander Golubev
bcd52fb90a =str #19834 Replave UTF8Encoder with GraphStage 2016-03-31 11:07:12 -04:00
drewhk
1596ae7f13 Merge pull request #20189 from drewhk/wip-19777-truncation-exception-drewhk
#19777 OutputTruncation should be only reported if there is proof of it
2016-03-31 14:58:23 +02:00
Endre Sándor Varga
4b76e32058 #19777 OutputTruncation should be only reported if there is proof of it 2016-03-31 13:53:36 +02:00
Bernard Leach
89a6187efc =htc #19953 Complete Promise in captureTermination onDownstreamFinish
PoolSlot uses StreamUtils.captureTermination to determine when the
associated request is completed, when a request from the pool was
subsequently used as a response by a server Flow the rendering
process would cancel the subscription to the Source but that
would not complete the Promise in StreamUtils.captureTerminate and so
the SlotEvent.RequestCompleted would not be generated.
2016-03-31 22:15:58 +11:00
Konrad Malawski
ca61a4eec4 Merge pull request #20181 from lolski/lolski-issue-19976-javadsl-wip
Adding HTTP Java DSL
2016-03-31 13:09:27 +02:00
drewhk
cc5adc632c Merge pull request #19895 from drewhk/wip-19892-killswitch-drewhk
#19892: KillSwitch (externally controllable stream completion)
2016-03-31 12:10:58 +02:00
drewhk
982243b49a Merge pull request #19913 from vans239/19910-checkContentLength
Replaced PushStage based CheckContentLength with GraphStage #19834
2016-03-31 11:55:08 +02:00
Endre Sándor Varga
2cb4d42087 19892: KillSwitch (controllable stream completion) 2016-03-31 10:51:59 +02:00
Ganeshwara
d08069ac08 adding java dsls 2016-03-30 10:41:00 +00:00
Alexander Golubev
b662536e7d =str #19834 replace PrepareForUserHandler with GraphStage 2016-03-29 13:54:29 -04:00
Konrad Malawski
0e2bd4e695 Merge pull request #20139 from venilnoronha/media-type-text-markdown
Added markdown file type to MediaType text/markdown entry
2016-03-29 13:37:09 +02:00
Konrad Malawski
0682489a77 Merge pull request #20087 from akka/wip-ws-streamed-matchable-ktoso
+htc #20086 make ws.*Message.Streamed not private
2016-03-29 11:58:30 +02:00
Evgeny Vanslov
45a2440970 Replaced PushStage based CheckContentLength with GraphStage #19834 2016-03-28 23:50:08 +03:00
Venil Noronha
0ca2c95680 Added markdown file type to MediaType text/markdown entry 2016-03-25 02:41:17 +05:30
Venil Noronha
dc397954ea Fixes #20126 - Added text/markdown to MediaType 2016-03-24 18:13:36 +05:30
Konrad Malawski
b3444fa1b0 Merge pull request #20055 from ktoso/wip-headers-more-fancy-ktoso
=htp #20052 headerValueByType now works with custom headers
2016-03-22 15:13:22 +01:00
Konrad Malawski
d83a323549 =htp #20052 headerValueByType now works with custom headers 2016-03-22 13:11:05 +01:00
Patrik Nordwall
fe6e58a4a7 increase some test timeouts in http-core, #19965 2016-03-22 12:17:44 +01:00
Konrad Malawski
22dead97c9 Merge pull request #20011 from ktoso/wip-deprecate-dangerous-static-fields-ktoso
+htc #19162 unholy fix for javadsl initialization issues
2016-03-21 17:58:50 +01:00
Konrad Malawski
e0bac41822 +htc #19162 add init workaround when scala inits first (and then java) 2016-03-21 17:20:04 +01:00
Konrad Malawski
2cf60d6d8a Merge pull request #20101 from ktoso/wip-fix-small-timeout-ktoso
htc #19693 fix too small timeout in test
2016-03-21 17:13:43 +01:00
Konrad Malawski
6d4401d200 htc #19693 fix too small timeout in test 2016-03-21 14:46:55 +01:00
Konrad Malawski
fc613aea7c +htc #19162 add safe java accessors to scala objects 2016-03-21 14:10:14 +01:00
Konrad Malawski
9934913e5d =doc fix code include marker for timeouts 2016-03-21 12:02:06 +01:00
Konrad Malawski
15bd45a004 =htc make ws.Message toString reprs consistent 2016-03-20 02:37:31 +01:00
Konrad Malawski
542b259630 +htc #20086 make ws.*Message.Streamed not private
In order to allow matching on it.
2016-03-20 01:44:19 +01:00
Konrad Malawski
f9c92a5f9a Merge pull request #20075 from akka/wip-typo2-patriknw
fix the the typo
2016-03-18 18:58:19 +01:00
Konrad Malawski
0c4c5a5909 Merge pull request #20043 from wlk/issue-18500-fix-scaladoc-warnings
=doc fix scaladoc warnings #18500
2016-03-18 17:42:49 +01:00
Patrik Nordwall
137c4c8b3d fix the the typo 2016-03-18 17:06:34 +01:00
Roland Kuhn
9125ca2663 Merge pull request #20016 from akka/wip-fix-matVal-graph-RK
simplify materialized value computation tree, fixes #20015
2016-03-17 10:49:18 +01:00
Konrad Malawski
c69efe4dd8 !htc WIP #19956 removing case classes from HttpMessages 2016-03-17 09:29:59 +01:00
Roland Kuhn
b255a19374 simplify materialized value computation tree, fixes #20015
- also fixes materialized value sources for graphs that import zero or
  one graphs, with and without Fusing
2016-03-16 17:05:46 +01:00
Wojciech Langiewicz
2cdf447f6e =doc fix scaladoc warnings #18500 2016-03-16 09:18:39 +01:00
Roland Kuhn
e5958c8712 Merge pull request #19701 from agolubev/agolubev-#19299-Performance-Flow.flatMapMerge
=str #19299 Performance Flow.flatMapMerge
2016-03-14 20:17:44 +01:00
Alexander Golubev
b2b2ce44b5 =str #19299 Performance Flow.flatMapMerge 2016-03-14 14:14:39 -04:00