Commit graph

19297 commits

Author SHA1 Message Date
monkey-mas
dce174b455 !htp #20102 Fix authentication scheme of WWW-Authentication header for OAuth2 over HTTP (#20756) 2016-06-30 10:28:40 +02:00
Konrad Malawski
d4d9c1943e =htc #20789 fix double push of requestPrepOut in HTTP blueprint (#20841)
* =htc #20789 fix double push of requestPrepOut in HTTP blueprint

* =htc simplify fix, can pull eagerly but under this condition

* =htc make early response a single line
2016-06-30 00:11:44 +02:00
Patryk Jażdżewski
421eb3d021 =htp simple head test to cheack manual completion with empty Source (#20853)
* simple head test to cheack manual completion with empty Source, for issue 20182
2016-06-29 13:50:58 +02:00
Patrik Nordwall
e7def17ce3 Merge pull request #20777 from richard-imaoka/wip-fix-circuitbreaker-remaining-timeout-richard-imaoka
Fix CircuitBreaker Open state's remainingTimeout() method (#20029)
2016-06-28 15:53:56 +02:00
Patrik Nordwall
f791cf123b stop PoolInterfaceActor on shutdown, #20842 (#20844) 2016-06-28 13:47:23 +02:00
Michal Sitko
72f8544efd +htp #18929 add withSizeLimit directive (#20760)
withSizeLimit and withoutSizeLimit directives added
2016-06-28 12:14:44 +02:00
Daniel Moran
e00a86271a =htc #19361 Convert UpgradeStage to GraphStage (#20835) 2016-06-28 11:58:12 +02:00
Patrik Nordwall
adc931a493 Merge pull request #20839 from akka/wip-20831-migration-guide-patriknw
rename 2.5 migration guide, #20831
2016-06-27 17:58:59 +02:00
Patrik Nordwall
77633401f9 rename 2.5 migration guide, #20831 2016-06-27 15:24:49 +02:00
drewhk
cadb148da3 Merge pull request #20838 from drewhk/wip-19931-expectRequest-update-pending-drewhk
#19931 Track pending requests properly on expectRequest
2016-06-27 14:01:01 +02:00
Endre Sándor Varga
e54d2933bd #19931 Track pending requests properly on expectRequest 2016-06-27 12:56:29 +02:00
Patryk Jażdżewski
62b4ecf67c +htc #20456 Add hot connection pool via the minConnections setting (#20723)
* 20456: add hot connection pool via the minConnections setting

* added the akka.http.host-connection-pool.min-connections setting to reference.conf
* modified config implementation s o it's being read, with 0 as default
* based on the setting two types of pools will be created - hot and cold
* hot ones will start ASAP and not close when the number of active connections fall to 0

* PR remarks: english, remove getIntOpt ...

Moving logic into PoolConductor WIP

* WIP: moving minConnections logic into PoolConductor, needs more precise tests

* added testing via expectNextN in ConnectionPoolSpec.scala; fixed the bug with skipping the actor state in PoolSlot

* fix comments from PR: make sure PoolConductor produces only SwitchSlotCommand

* fix typo: slotSettings -> slots

* Fix style after code review
- inline short snippets
- shorter Mima
- better naming
- make SlotCommands final
2016-06-27 10:55:39 +02:00
Richard Imaoka
1ca40730ef =str Deprecate InvalidAbsorbTermination, please use GraphStage instead. (#20288) (#20386) 2016-06-25 11:37:22 +02:00
Kevin Deng
e8b4ca2acd =htc Ensure DNS resolution is performed for all new connections #20690 (#20791)
Pass in an unresolved InetSocketAddress to ensure that each new
TcpOutgoingConnection will perform DNS resolution.

This prevents a connection pool from always using the same IP address for a host
even if the DNS mapping changes (e.g. in a failover).
2016-06-25 11:31:35 +02:00
Tobias Pfeifer
3723959b69 Akka-HTTP: basicAuthentication directive promotes insecure passwords #18858 (#20820)
the Credentials Object used in the authenticateBasic Directive can be verified against passwords that are stored with a hashing function. By providing the same hashing function as an argument the clear-text password in the HttpCredentials will be hashed the same way prior to comparing against the stored secret.
2016-06-25 11:24:54 +02:00
Hawstein
6777e7f7d9 +doc #20466 example snippet for akka http java dsl: ParameterDirectives (#20823) 2016-06-23 23:29:01 +02:00
Martynas Mickevičius
2836e990cb Merge pull request #20805 from 2m/wip-sigar-loader-extract-dir-2m
#20804 add a note for unique per instance extract directory
2016-06-23 10:14:01 +03:00
kbrowder
d6eebd22ef +htt #20815 Add expectNext(d: FiniteDuration) and requestNext(d: FiniteDuration) (#20819)
* Add expectNext(d: FiniteDuration) and requestNext(d: FiniteDuration) for issue 20815

* add some comments on requestNext
2016-06-22 21:27:09 +02:00
Michał Płachta
00c5f49c7a Replace PushStage-based Log with GraphStage (part of #19834) (#20788)
* Replace PushStage-based Log with GraphStage (part of #19834)

* Remove LogLogic and FilterLogic toStrings
2016-06-22 16:36:18 +02:00
Martynas Mickevičius
672a10a7ea #20804 add a note for unique per instance extract directory
If extract directory for sigar loader is shared, first instance
JVM crashes when the second one is started.
2016-06-22 16:30:40 +03:00
Martynas Mickevičius
e39255cef0 Merge pull request #20809 from 2m/wip-#20808-restart-node-2m
#20808 clarify docs on the quarantined node restart
2016-06-22 16:27:45 +03:00
gosubpl
4b89fcd643 +doc #20466 akka http java dsl example snippets timeout directives (#20812)
* #20466 added checks to the TimeoutDirectivesExampleSpec

* #20466 added missing Java directive wrapper, added Java test, added some comments to Scala spec

* #20466 test minor fixes (typos, comments, unused code)

* #20466 replaced placeholders with proper snippets in Java docs

* #20466 added proper withRequestTimeout example to JavaTestServer

* #20466 comment - clarifies the request-timeout = infinite case

* #20466 post-review changes (#20812)
2016-06-22 01:55:28 +02:00
Fabian Gutierrez
ee77273fac akka http javadsl - add path directive tests (#20813)
* akka http javadsl - add debugging directive test

* fixes line breaks

* add additional examples on PathDirectives

* link documentation to test examples

* include example on redirectToNoTrailingSlashIfPresent and redirectToTrailingSlashIfMissing

* include example on redirectToNoTrailingSlashIfPresent and redirectToTrailingSlashIfMissing
2016-06-22 01:13:27 +02:00
Patryk Jażdżewski
7259fcc534 +htc #20272 HttpMessageParser swallows IllegalHeaderException (#20783)
Catch clause in HttpMessageParser.parseBytes will intercept IllegalHeaderException being thrown and translate them into proper errors.
2016-06-21 16:30:25 +02:00
Johan Andrén
277e7124e0 Improve map stage diagrams (#20551)
* =doc Add clarity for GraphStage image with map transformation

* Clarified that the function is applied in the map graph stage diagrams

* Make application of f more visible
2016-06-21 16:28:46 +02:00
Martynas Mickevicius
2de90adc02 #20808 clarify docs on the quarantined node restart 2016-06-20 13:10:43 +02:00
Felix Satyaputra
4d9268214d +rem Support serialization of scala Some and None (#20801) 2016-06-19 17:55:10 +02:00
Hawstein
cc22ed4560 +doc example snippet for akka http java dsl: SecurityDirectives (#20717) 2016-06-19 02:06:19 +02:00
Chris Birchall
f246c56087 +doc Add more imports to the stream quick start guides for Java and Scala (#20797)
* Add more imports to the stream quick start guides.

This makes it easier for people to execute the code samples while they
read through the guide.

* Change line endings to be consistent with other files

For some reason these 2 files had CR+LF line endings.
2016-06-18 11:15:17 +02:00
Patrik Nordwall
a9cb8ab4b5 Merge pull request #20762 from jypma/java_base
Allow Java API to create actor publishers with stash
2016-06-14 14:28:27 +02:00
Konrad Malawski
5899658416 =str #20214 remove debug println in TLSActor (#20769) 2016-06-13 18:36:40 +02:00
Richard S. Imaoka
f0e9de4e56 Fix CircuitBreaker Open state's remainingTimeout() method (#20029) 2016-06-13 23:14:45 +09:00
Konrad Malawski
374a852553 =htc #20683 added more docs, documented expected double-run behaviour (#20765) 2016-06-13 14:11:09 +02:00
Jan Ypma
bf746431e0 Allow Java API to create actor publishers with stash 2016-06-13 10:16:32 +02:00
miaoqian
a7451fd888 =str ActorPublisher mustn't to signal onSubscribe on the given subscriber more than once. (#20733) 2016-06-10 13:46:59 +02:00
Bernard Leach
95cfbda030 =htc migrate BodyPartRenderer to GraphStage #20288 2016-06-10 08:21:53 +02:00
Piotr Krzemiński
9ffdf81507 +htc #20683 discardEntityBytes() combinator for draining entity stream (#20707) 2016-06-10 00:00:27 +02:00
Michal Sitko
b7fdcb06c4 +doc add depenedency note to docs #20732 (#20761) 2016-06-09 16:02:27 +02:00
Hawstein
efb18c95b1 example snippet for akka http java dsl: FileAndResourceDirectives (#20758) 2016-06-09 15:34:25 +02:00
Johan Andrén
16cde39de8 Better recovery timeout for persistent actors #20738 2016-06-09 14:58:32 +02:00
Robert Budźko
e40a2b21c4 +doc #20521 Enrich docs and tests regarding empty strings used in matchers (#20719) 2016-06-08 15:20:21 +02:00
Patrik Nordwall
3c2e31ea41 Merge pull request #20445 from kkasravi/issue_20414_kkasravi
fixes #20414 Allow different ActorMaterializer subtypes
2016-06-08 10:12:25 +02:00
kwyczesany
7fdd5983a3 +htp #19756: Add extractData and extractRequestEntity directives. (#20730)
* 19756: Add extractData and extractRequestEntity directives.

remove unnecessary import

* #19756: add documentation to extractDataBytes and extractRequestEntity directives
2016-06-07 21:02:38 +02:00
Piotr Krzemiński
735060da20 +doc updated Sphinx install guide (#20743)
* updated path to texlive basic 2016
 * added few missing packages
2016-06-07 20:53:22 +02:00
Kam Kasravi
049b95077f fixes #20414 Allow different ActorMaterializer subtypes 2016-06-07 07:13:03 -07:00
drewhk
47c1b5b9ad Merge pull request #20742 from drewhk/wip-reduce-internal-resume-allocations
Reduce internal allocation in ActorGraphInterpreter
2016-06-07 15:39:15 +02:00
Endre Sándor Varga
6932012007 Reduce internal allocation in ActorGraphInterpreter 2016-06-07 14:25:04 +02:00
Michal Sitko
bf76d6c389 +doc #20699 improve docs for akka-http (#20722)
Made imports in docs snippets more complete and a few minor improvements
2016-06-07 00:17:23 +02:00
Hawstein
87a9196088 +doc #20466 example snippet for akka http java dsl: FormFieldDirectives (#20731) 2016-06-06 20:45:36 +02:00
Stefano Bonetti
fc58fa1f05 Amending docs for KillSwitch #20708 (#20716) 2016-06-06 11:28:04 +02:00