Commit graph

217 commits

Author SHA1 Message Date
Konrad Malawski
3d718cf1f1 +htc #19708 provides default marshaller for akka.Done (200, empty text response) 2016-02-08 16:07:35 +01:00
Konrad Malawski
67ebaba045 !htc,str #19275 fix various scala/java interop problems in DSL 2016-01-22 11:12:22 +01:00
Konrad Malawski
1cd21d9ce2 !htc,str #19275 adjust bind/client apis on Http() 2016-01-22 11:12:22 +01:00
Konrad Malawski
1b47fbeac7 !htc,doc,htp #19508 fix casing of WebSocket (as per spec) 2016-01-22 11:12:22 +01:00
Endre Sándor Varga
a56b50dad9 #19566 Increase too tight patience for FormDataSpec 2016-01-21 15:48:45 +01:00
drewhk
b1d99ca5a8 Merge pull request #19482 from agolubev/agolubev-#19361-migrating_ByteStringParserStage_to_GraphStage
=str #19361 migrating ByteStringParserStage to graph stage
2016-01-21 11:41:09 +01:00
Alexander Golubev
07c0da36f2 =str #19361 migrating ByteStringParserStage to graph stage 2016-01-20 12:23:48 -05:00
Roland Kuhn
e5baba2b29 squash some warnings 2016-01-20 11:54:24 +01:00
Roland Kuhn
3140e72265 #19046 replace system.{shutdown => terminate} 2016-01-20 11:50:43 +01:00
Endre Sándor Varga
60497f6561 also fix FlowInterleaveSpec
Also-by: Johan Andrén <johan@markatta.com>
Also-by: Roland Kuhn <rk@rkuhn.info>
Also-by: Martynas Mickevičius <mmartynas@gmail.com>
2016-01-20 10:01:58 +02:00
Mathias
7eed4a34a5 !htc improve header rendering control by introducing distinction between request and response headers 2016-01-20 00:50:39 +01:00
Roland Kuhn
0db2c303ce Merge pull request #19465 from wjur/wjur/form_fields_master
[WIP] #16651 Add formFieldMap, formFieldMultiMap & formFieldSeq Directives
2016-01-19 14:43:50 +01:00
Martynas Mickevičius
8c1350b0d4 Merge pull request #19505 from 2m/wip-stream-build-fix
Various streams build improvements
2016-01-19 11:17:11 +02:00
Martynas Mickevičius
7743aa9d0a Various streams build improvements
* remove settings duplication between AkkaBuild and project specific .sbt files
* do not publish test projects
* run akka-http-core tests
* fix lambda sample project versions
* remove obsolete projects (streamAndHttp, httpParent, docsDev)
* exclude parsing project from unidoc
* update to the latest sbt
2016-01-18 18:16:30 +02:00
Endre Sándor Varga
57c1dfde8a 19441: Use Optional instead of Option in http core javadsl 2016-01-15 16:20:46 +01:00
Wojciech Jurczyk
edf0d6cb21 +htp: #16651 Add formFieldMap, formFieldMultiMap & formFieldSeq Directives 2016-01-14 23:16:00 +01:00
2beaucoup
f7a5151bbb #19447 remove compatibility fallbacks for Java < 8 2016-01-14 15:52:13 +01:00
2beaucoup
aed67715af #18860 add back @SafeVarargs annotations 2016-01-14 15:41:44 +01:00
Konrad Malawski
e6448dfd05 =pro merge akka-http-tests-java8 with akka-http-tests (raw) 2016-01-13 01:25:55 +01:00
Konrad Malawski
f6147972d7 +pro add Akka Streams HTTP to master build
> merged akka-bench-jmh-dev with akka-bench-jmh
> renamed akka-stream-tck to more correctly named akka-stream-tests-tck
> merged java8 tests with normal tests in http
2016-01-13 01:25:04 +01:00
Konrad Malawski
f4f75c45bf =htc disable fuzzing-mode by default in TestServer
So I won't catch myself again and again measuring something with fuzzing on ;)
2016-01-07 11:08:48 +01:00
Konrad Malawski
544a4deed0 +htc #19237 entity#withSizeLimit for Java + add withoutSizeLimit 2016-01-05 02:43:59 +01:00
Konrad Malawski
59a079d1f2 Merge pull request #19219 from ktoso/wip-sslconfig-ktoso
Apply ssl-config and include hostname validation
2015-12-21 14:41:40 +01:00
Konrad Malawski
8cf86e693c =htp #19184 better TLS defaults and hostname verification
+ depends on com.typesafe.ssl-config which we'll need to release
+ also makes tests compile on JDK6, to enable testing this on JDK6
2015-12-21 13:20:24 +01:00
Roland Kuhn
469e15581f fusable SplitWhen and reusable HTTP blueprint
plus further optimizations

Lots of contributions from drewhk (Endre Varga).
2015-12-21 12:28:21 +01:00
Martynas Mickevičius
3bc53f499b Merge pull request #19214 from 2m/wip-rename-source-sink-factory-applies
=str #19128 #19127 rename Source/Sink factory apply overloads
2015-12-17 13:19:01 +02:00
Martynas Mickevičius
e6e476d82a =str #19128 #19127 rename Source/Sink factory apply overloads 2015-12-17 11:48:30 +02:00
Johannes Rudolph
4a14feef08 =htc #16821 support UTF-8 characters in field values 2015-12-17 10:30:55 +01:00
2beaucoup
4e86bf0cd6 !htp #19185 generic CSV form field unmarshallers 2015-12-16 13:52:06 +01:00
Anderson Osagie
d4ad6ea885 =htp stop case class extraction from throwing IllegalArgumentException 2015-12-14 14:42:58 +00:00
André Cardoso
13070c62af =htc #19159 Adds falback for wildcard charset with decimal priority
For content types with no registered charset (e.g. image/gif), an Accept-Charset
header with decimal priority (`Accept-Charset *;q=0.99`) should not reject the
request.
2015-12-13 18:09:17 +00:00
Roland Kuhn
0f74a0e02b Merge pull request #19118 from Softwire/wip-18567-unmarshallers-for-csv-number-sequences
!htp #18567 Added unmarshallers for CSV integer sequences
2015-12-13 17:48:27 +01:00
Roland Kuhn
27353d4952 Merge remote-tracking branch 'pr/19150' into release-2.3-dev 2015-12-13 16:55:39 +01:00
Roland Kuhn
ed35df0a44 Merge pull request #19151 from 2beaucoup/minor-cleanups
Minor cleanups
2015-12-13 16:48:32 +01:00
2beaucoup
474fb870e9 =htc: minor cleanups 2015-12-11 16:12:48 +01:00
Viktor Klang
33a9257a3b =str&http - 19142 - Renames all occurrences of mat with materializer
(When referring to a Materializer)
2015-12-11 14:45:24 +01:00
Konrad Malawski
d1607c35c8 =htc amend CodingDirectivesSpec to match rebased code 2015-12-11 02:04:48 +00:00
Anton Karamanov
1530248480 =htp #19099 make sure headers are always written on finish in GzipCompressor 2015-12-10 19:29:38 +00:00
Anton Karamanov
3dbb553b0e =htp #19099 fix encoding of empty stings 2015-12-10 19:29:30 +00:00
Roland Kuhn
1500d1f36d !str #19005 make groupBy et al return a SubFlow
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.

Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.

This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Catalin Ursachi
62afd94a47 !htp #18567 Added unmarshallers for CSV integer sequences 2015-12-07 17:49:22 +00:00
Konrad Malawski
a8545c0437 =htc remove reference to jdk7 class in test 2015-12-07 14:12:13 +01:00
Mathias
ba397463c3 !htc, htp #16991 add support for precompressed media-types and .gz file extension suffixes 2015-12-04 13:32:01 +01:00
Mathias
899b92faf2 !htp #19034 refactor content negotiation, upgrade to new MediaType / ContentType model 2015-12-04 13:32:01 +01:00
Konrad Malawski
177496333b =htc ignore test, to be fixed in #19049 2015-11-30 14:30:44 +01:00
Konrad Malawski
7afb750380 =str make StageActorRef "single" and watchable, fix some tests 2015-11-30 13:39:35 +01:00
Konrad Malawski
5b3c04572f =htp Fixes early error also being signalled as error via event 2015-11-30 13:38:32 +01:00
Konrad Malawski
93e5cc38f4 Merge pull request #18979 from spray/wip-16898-mathias
htp: remove server bypass, add early response detection
2015-11-27 14:02:18 +01:00
Mathias
8fc02dd799 +htp add selectPreferredLanguage directive incl. docs 2015-11-27 12:52:53 +01:00
Mathias
aeb05bd108 =htc,htp prepare for enabling stream.materializer.debug.fuzzing-mode=on in tests 2015-11-25 16:39:11 +01:00