Commit graph

19387 commits

Author SHA1 Message Date
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
Konrad Malawski
218f81196c =htp multinode latency spec for HTTP (#20964) 2016-07-15 18:53:13 +02:00
Nikolay Donets
b7567a5c55 Nikdon 20535 check same origin (#20962)
* =htp checkSameOrigin shows allowed origins

add HttpOriginRangeDefault into the javadsl and refactor

resolving binary compatibility + add copyright

return back public static final in the HttpOriginRange

* =htp #20535 address bin compat issues in checkSameOrigin PR
2016-07-15 13:39:40 +02:00
Thomas Szymanski
3871e18acd Fix typos in HTTP streaming doc (#20963) 2016-07-15 12:38:11 +02:00
Konrad Malawski
f0a1ba8467 =htc replace getSimpleName with Logging.simpleName (#20951)
As getSimpleName sometimes has issues on some scala classes (blows up).
2016-07-15 10:52:40 +02:00
abesanderson
03fcf871a9 additional debug logging for fsm #20952
* additional debug logging for fsm
* dont construct the string if debug logging disabled
2016-07-15 10:02:37 +02:00
Jacek Kunicki
6e0a2caf4b Corrected onPush description in Custom stream processing docs #20959 (#20960) 2016-07-14 21:54:33 +02:00
Konrad Malawski
7ef1b78ae7 +write http throughput results if asked to (#20958) 2016-07-14 17:47:56 +02:00
Konrad Malawski
6078fe44ee dsable fuzzer in Http Throughput spec (#20957) 2016-07-14 16:53:41 +02:00
Konrad Malawski
e08958322a +htp akka http Throughput benchmark, for jenkins (#20956) 2016-07-14 16:48:51 +02:00
Konrad Malawski
400402f76c +act #20936 add CompletionStage API to CircuitBreaker (#20937) 2016-07-14 14:03:04 +02:00
Konrad Malawski
08e4ee0e6f =build update to latest sbt-jmh (#20949)
Which also includes the JFR profiler mode.
Use with: `jmh: run -prof jmh.extras.JFR`, details here: https://github.com/ktoso/sbt-jmh#using-oracle-flight-recorder
2016-07-13 15:55:22 +02:00
Konrad Malawski
65fae200b7 =htp #20884 fix header name rendering issue when $minus present (#20940) 2016-07-13 14:53:56 +02:00
Konrad Malawski
55e3e123b1 =act #20910 optimize ByteString#copyToBuffer (#20911) 2016-07-11 18:23:52 +02:00
Konrad Malawski
841be3e172 =build versions of dependencies for 2.12.0-M5 (#20939)
* =build versions of dependencies for 2.12.0-M5

* Update Dependencies.scala
2016-07-11 16:12:59 +02:00
Harit Himanshu
07ec6b7f4c Adding note on usage of Cluster Dispatcher #20775 (#20927)
* Adding note on usage of Cluster Dispatcher #20775

* Remove `[` and `]` to from Cluster Usage node #20775
2016-07-11 15:48:07 +02:00
Nafer Sanabria
1009f8e235 =doc Fix indefinite articles typos in docs (#20924) 2016-07-11 14:13:40 +02:00
Konrad Malawski
9e6f346a19 Add news link 2016-07-11 12:00:42 +02:00
Konrad Malawski
9232f51a14 =doc #20931 fix java docs link 2016-07-11 11:59:39 +02:00
Nafer Sanabria
32810e1f1d =htc, doc replace usages of deprecated methods of FileIO (#20928) 2016-07-10 17:41:57 +02:00
Morton Fox
c81ea4f36b Fix the StackOverflow link (#20923) 2016-07-08 18:36:33 +02:00
Konrad Malawski
60fb163331 +doc #20192 explain need of draining entities in server/client HTTP (#20852)
* +doc #20192 explain need of draining entities in server/client HTTP

* missing javadsl for Connection header

* Update HttpClientExampleDocTest.java
2016-07-08 14:47:29 +02:00