Commit graph

237 commits

Author SHA1 Message Date
Martynas Mickevičius
50f99328fe #18765 Update to latest MiMa which is now an AutoPlugin.
* check for binary inc. issues by default
* if check is not needed, disable MimaPlugin
* determine old artifact id from the current one
2016-03-10 10:45:35 +02:00
Konrad Malawski
ac1888fd66 Merge pull request #19871 from ktoso/wip-timeout-http-error-ktoso
=htc #19827 avoid double-push when request timeout triggers
2016-03-08 19:29:35 +01:00
Konrad Malawski
2d7d24dee6 +doc,htp #19896 directives for RequestTimeout and docs 2016-03-08 18:17:35 +01:00
Roland Kuhn
45e97e8467 remove akka.stream.testkit.AkkaSpec, fixes #19879 2016-02-25 15:26:51 +01:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Konrad Malawski
ef827e6ef1 -htp #19577 replace overloads of bind with HttpConnect 2016-02-16 13:01:05 +01:00
Roland Kuhn
e202ea8c40 clean up dependencies #19755 and other fixes
* remove inter-project dependencies between streamTestkit -> peristence -> remote
* make PartitionOutOfBoundsException extend IndexOutOfBoundsException
* some weird formatting
* remove -experimental from HTTP Testkit/Tests
* split out shared LevelDb journal tests into new subproject (not to be
  published)
2016-02-15 20:35:37 +01:00
Konrad Malawski
10d3af1478 Merge pull request #19584 from cmbaxter/feature/xff-avoid-dns-cmbaxter
!htt #19388 Removing use of InetAddress.getByName
2016-02-15 13:29:50 +01:00
drewhk
ebb915ae4d Merge pull request #19750 from lolski/lolski-issue-19293-rebased
=str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq
2016-02-12 11:36:56 +01:00
lolski
21381d5710 =str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq and limit in tests where appropriate
* Sink.seq (Scala DSL) now returns immutable.Seq rather than Seq
* Sink.seq will not silently truncate when incoming elements is > Int.MAX_VALUE
* minor doc fixes
* replacing various grouped(n) / Sink.head with limit(n) / Sink.seq in various tests
* fix inconsistent indentation in RequestParserSpec
2016-02-12 01:36:21 +08:00
Konrad Malawski
d179945a97 +htc #19577 binding DSL for javadsl Http 2016-02-10 18:21:59 +01:00
Chris Baxter
6d3bb94d09 !htt #19388 Chanring x-real-ip from raw to real modeled header
* Allows for parsing rules to be applied to vet the ip
* Removed last cases of code where the String variant of apply on RemoteAddress is used
2016-02-10 12:08:09 -05:00
Johan Andrén
442d10d123 Merge pull request #19673 from newca12/newca12-#19610-fix-multipart-form-data-unmarshaller
=htp fix multipart/form-data unmarshaller when no Content-Type field
2016-02-10 10:15:11 +01:00
Konrad Malawski
645028fa8c Merge pull request #19715 from ktoso/wip-done-marshalling
+htc #19708 provides default marshaller for akka.Done (200, empty text…
2016-02-10 10:11:16 +01:00
Konrad Malawski
3d718cf1f1 +htc #19708 provides default marshaller for akka.Done (200, empty text response) 2016-02-08 16:07:35 +01:00
Olivier ROLAND
9fb3e147db =htp fix multipart/form-data unmarshaller when no Content-Type field is present
RFC 2046:
… multipart/* …
If no Content-Type field is present it is assumed to be "message/rfc822" in a "multipart/digest" and "text/plain" otherwise

RFC 2388:
As with all multipart MIME types, each part has an optional "Content-Type", which defaults to text/plain.
2016-02-02 18:42:12 +01:00
Johan Andrén
61b375cec8 !htt #19514 Update RouterSettings to be non case class 2016-01-25 17:09:03 +01:00
Konrad Malawski
379a3a85b4 !htc #19514 add withXYZ methods to all configs 2016-01-25 15:30:59 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Roland Kuhn
4c72495581 #19440 replace Scala Future usage with CompletionStage in javadsl
This entails:

  * adding akka.pattern.PatternCS.* to enable ask etc. with
    CompletionStage
  * changing RequestContext to offer an ExecutionContextExecutor for the
    CompletionStage.*Async combinators
  * splitting up akka.stream.Queue for JavaDSL consistency
2016-01-23 18:00:11 +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