Commit graph

20053 commits

Author SHA1 Message Date
Stefano Bonetti
4e36541350 +doc stages-overview entry for partition stage #21020 (#21073) 2016-07-30 11:04:56 +02:00
Konrad Malawski
57b77d15af Merge pull request #21066 from johanandren/wip-runnable-graph-from-add-attributes-johanandren
make RunnableGraph.addAttributes return a RunnableGraph
2016-07-29 16:44:47 +02:00
Johan Andrén
f8a810317f Link to migration guide from java docs, minor corrections for #20945 2016-07-29 16:42:44 +02:00
Johan Andrén
74243a28f8 Additional JavaDSL package structure and docs #20945 2016-07-29 16:42:40 +02:00
Hawstein
3cfb6f9d91 align package structure in http javadsl 2016-07-29 16:42:28 +02:00
Tim Harper
1c6b38743b make RunnableGraph.addAttributes return a RunnableGraph #20630 2016-07-29 15:04:26 +02:00
Konrad Malawski
bb701d1725 HTTP: Optimise response rendering and response parsing (#21046)
* +htp,ben HttpBlueprint benchmark

* +act bring OptionVal from artery-dev
+htc raw benchmarks

* =htc request parsing benchmark

* +htc,ben add benchmark for longer (raw) json response

* =htc optimise renderHeaders, less Option allocs

* -htc remove FastClock, not quite worth it
2016-07-28 22:32:40 +02:00
Johan Andrén
9372087464 =htc #21051 WebsocketResponse future now fails if the connection failed (#21054)
* WebsocketResponse future now fails if the connection failed #21051
2016-07-28 17:48:06 +02:00
Alexander Golubev
d0bf45fe68 =str 20711 IllegalMonitorStateException in Source.queue 2016-07-28 14:23:47 +02:00
Ian Clegg
f33f2197b6 =htc #20786 Fix for RFC 7235 so HttpChallenge only renders the realm when it has a value (#21043) 2016-07-28 13:32:50 +02:00
Johan Andrén
95280bf16f =readme Updated the contributing doc with sbt memory heap config (#21055)
* Updated the contributing doc with sbt memory heap config

* huge -> large
2016-07-28 13:18:14 +02:00
Hawstein
39008dc58a replace AkkaSpec with StreamSpec for stream tests #21011 2016-07-28 10:43:08 +02:00
Konrad Malawski
c520df3210 =doc fix spray-json included snippet (#21045) 2016-07-27 20:05:30 +02:00
Johan Andrén
c0861cb7d5 =htc #21008, controller stage misbehaving on early response (#21033)
* Bugfix #21008, controller stage misbehaving on early response

* Test coverage and only fix the actual bug
2016-07-27 17:48:48 +02:00
Konrad Malawski
5479276b64 =htc migrate Masker to graph stage (#21048) 2016-07-27 12:38:51 +02:00
Konrad Malawski
42b27b58c0 =ben fix compilation due to stale PR being merged (#21044)
* =ben fix compilation due to stale PR being merged

* Update HttpRequestParsingBenchmark.scala
2016-07-26 22:17:14 +02:00
Konrad Malawski
5d8dcc8ebc =htc #20921 mima filters and scaladoc for discardBytes (#21042) 2016-07-26 13:44:05 +02:00
Nafer Sanabria
da79af329f =htc #20921 add discardBytes method to HttpEntity (#20925)
add DiscardedEntity interface inside HttpEntity
2016-07-26 13:42:56 +02:00
Richard S. Imaoka
15c77e3392 Document HTTP custom method (#20508) 2016-07-26 12:33:45 +02:00
Stefano Bonetti
fb1905870c =doc graphstage sink example (#20955) (#21030) 2016-07-26 12:20:08 +02:00
Hawstein
867131f626 +doc add unit tests for extractDataBytes and extractRequestEntity directives (#21022) 2016-07-26 12:02:04 +02:00
Johan Andrén
150511a44b =htc Byte string parser input for request target parsing (#21018)
* Avoid byte array allocation in request target parsing

* Request parsing benchmark added

* Missing copyright added
2016-07-26 12:00:24 +02:00
Konrad Malawski
f63a0cea8f +pro Update sbt-JMH (includes JMH 1.13) (#21026)
* +pro Update sbt-JMH (includes JMH 1.13)

* Update plugins.sbt
2016-07-25 19:32:10 +02:00
Konrad Malawski
5fd0654000 Jenkins benchmarking improvements (#21034)
* +htp,ben HttpBlueprint benchmark

* =htp hide http perf test behind a flag

* =htp report requests per second as well as bytes per second in perfspec
2016-07-25 18:39:52 +02:00
kenji yoshida
584f383a6d =doc fix FAQ url (#21031) 2016-07-25 10:41:51 +02:00
kenji yoshida
3a2e918ccf =doc fix .rst syntax (#21032)
`[text](http://example.com)` is markdown syntax, not rst
2016-07-25 09:26:38 +02:00
Hawstein
cf46ab887f +htc #20771 provide different options to deal with the illegal response header value (#20976) 2016-07-24 17:56:39 +02:00
ivan-lorenz
1d0837856a =doc set up mailbox for BalancingPool documented #13961 2016-07-22 16:04:11 +02:00
Johan Andrén
6efec50c94 Limitable in HTTP Core rewritten as GraphStage #21019 2016-07-22 16:02:44 +02:00
Alexei
8fbb3e37c0 =act Identify does not reset idle state of actors under ReceiveTimeout. fixes #20998 (#20999)
* Identify does not reset idle state of actors under ReceiveTimeout #20998

* unit test for Identify not to have impact on ReceiveTimeout #20998
2016-07-22 14:09:16 +02:00
Johan Andrén
9dc474a10a Pre-fuse http server layer (#20990)
* Ported the first pre-fuse part endre did in pr #1972

* Allow the same HttpServerBluePrint to materialize multiple times

HttpRequestParser now behave like a proper GraphStage (with regards to materialization)
HttpResponseParser is kept "weird" to limit scope of commit.

* TestClient method to dump with http client and curl in parallel for comparison

* Cleanup

* tightening down what can be overriden
* tightening down access modifiers
* updates according to review

* Better defaults for the test server

* Ups. Don't listen to public interfaces in test server by default.
2016-07-22 14:07:41 +02:00
Johan Andrén
27efafecfc =htp #21009 Correct type of response in logging directive samples (#21010)
* Correct type of response in logging directive samples #21009

* Updates to signatures in the docs as well
2016-07-22 13:12:33 +02:00
Hawstein
6fb2d176a1 +htp #20881 add toStrictEntity and extractStrictEntity directive (#20953) 2016-07-22 11:33:30 +02:00
Alexander Golubev
e0d73187bd =str 20967 print stream state on test failed (#21003) 2016-07-22 10:03:26 +02:00
Vadim Semenov
14bfc353ba Fixed scaladoc-typo in FSM.scala 2016-07-21 17:36:48 +02:00
Alexandre Tamborrino
c8dfa2458d Fix snippet example in stream-rate doc #21006
Fix #section-buffer by replacing .withAttributes by .addAttributes to avoid overwriting the .async option.

* Update StreamBuffersRateDocTest.java

Fix #section-buffer by replacing .withAttributes by .addAttributes to avoid overwriting the .async option.
2016-07-21 17:35:13 +02:00
Konrad Malawski
210c11e85e +htp,ben HttpBlueprint benchmark (#21005) 2016-07-21 15:48:32 +02:00
Konrad Malawski
fde9d86879 ByteString optimisations of methods in HTTP parsing hot-path (#20994)
* =act #20992 prepare benchmarks for ByteString optimisations

* =act #20992 optimise common ByteString operations: drop,take,slice...

* =act,htc #15965 add ByteString.decodeString(java.nio.charsets.Charset)
2016-07-20 14:01:51 +02:00
Konrad Malawski
d3ea9e49db =htp cache default RejectionHandler instance, it's safe to share (#20996) 2016-07-20 12:18:52 +02:00
Konrad Malawski
20960d9fd5 +doc explain how to generate JavaDoc in CONTRIBUTING.md (#20995)
* +doc explain how to generate JavaDoc in CONTRIBUTING.md

* Update CONTRIBUTING.md
2016-07-20 10:13:39 +02:00
Richard Imaoka
6c82176c30 +act Clarify usage of FromConfig in doc and API doc #18771 (#20981) 2016-07-18 13:16:36 +02:00
Konrad Malawski
df46b203dc Bump sbt to 0.13.12 (#20978) 2016-07-18 13:11:08 +02:00
Lev Khomich
8f19dfcece =htc do not mention source in HttpEntity.toString (#20739) (#20971) 2016-07-18 11:14:06 +02:00
Nafer Sanabria
8047f3359f =htc #20920 create ContentLength HTTP header in JavaDSL (#20926)
remove constructor
2016-07-18 10:55:09 +02:00
Konrad Malawski
a75c3f7bf1 Update AkkaHttpServerLatencyMultiNodeSpec.scala (#20980) 2016-07-18 10:53:53 +02:00
Johan Andrén
08230ae223 =str Avoid building unused strings on every wire call (#20948)
* Avoid building unused strings on every wire call

Up to twice as many materializations in the same time

* Specialized null check added to avoid allocations
2016-07-18 10:35:14 +02:00
Nafer Sanabria
2078396197 =doc Akka & GitHub appearances in docs (#20968)
* =doc capitalize akka word

* Capitalize GitHub appearances in docs
2016-07-18 10:33:44 +02:00
Richard Imaoka
12fadfe8e5 +doc Indicate in doc BalancingPool should not support Broadcast #15030 (#20979) 2016-07-18 10:33:09 +02:00
Konrad Malawski
3f12509f27 =htp attempt to fix PR validation issue, unable to reproduce (#20975) 2016-07-17 20:06:22 +02:00
Konrad Malawski
e986989bfa =htp fix typo in latency spec using AB (#20965) 2016-07-15 19:19:53 +02:00