Commit graph

792 commits

Author SHA1 Message Date
Johan Andrén
b9106da698 Merge pull request #19606 from akka/wip-19514-making.config-classes-easier-to-evolve-bin-compat-johanandren
!htc #19514 make config classes easier to evolve bin-compat (rebase)
2016-01-25 19:42:51 +01:00
Johan Andrén
61b375cec8 !htt #19514 Update RouterSettings to be non case class 2016-01-25 17:09:03 +01:00
Johan Andrén
ac8901a6f8 Merge pull request #19607 from akka/wip-stream-non-experimental-RK
remove experimental marker from stream/testkit/parsing/http-core
2016-01-25 15:59:32 +01:00
Konrad Malawski
379a3a85b4 !htc #19514 add withXYZ methods to all configs 2016-01-25 15:30:59 +01:00
Konrad Malawski
244c52c226 !htc #19514 more case class => class boilerplate 2016-01-25 15:30:59 +01:00
Konrad Malawski
9b4b68f0c9 !htc #19514,#18958 make config in HTTP non-case class + from reference 2016-01-25 15:30:59 +01:00
Johan Andrén
2874a93665 Merge pull request #19604 from akka/wip-19441-convert-from-Option-to-Optional-in-javadsl-johanandren
!str #19441 convert from Option to Optional in javadsl
2016-01-25 14:12:31 +01:00
Roland Kuhn
607fbd6378 remove experimental marker from stream/testkit/parsing/http-core 2016-01-25 14:05:54 +01:00
Martynas Mickevičius
a8abbaf36b wip #19441 convert from Option to Optional in javadsl 2016-01-25 11:02:54 +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
Chris Baxter
128b7f87b9 !htt #19388 Removing use of InetAddress.getByName
* Remove String apply methods for RemoteAddress (both scala and java)
* Added unit test to show that hostnames in the address are treated as invalid by the parser
* Added a unit test to show that invalid xff is added as a RawHeader instead of model class
2016-01-22 09:50:33 -05: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
Konrad Malawski
0dd889aa17 =pro fix junit version to be the same in both scopes 2016-01-22 11:12:22 +01:00
Konrad Malawski
100f82be84 !htc,str #19275 towards ssl-configurable server, change APIs 2016-01-22 11:12:22 +01:00
Alexander Golubev
d5f81e19d1 =str #18890 Polish Source.queue 2016-01-21 13:09:55 -05: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
Roland Kuhn
1ef35d907f #19213 clarify clientAuth=None 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
5823486ccb +htc #16819 implement server-side request timeouts 2016-01-20 00:50:39 +01:00
Mathias
7eed4a34a5 !htc improve header rendering control by introducing distinction between request and response headers 2016-01-20 00:50:39 +01:00
Mathias
78f5c35e27 =htc update outdated documentation in reference.conf 2016-01-20 00:50:39 +01:00
Roland Kuhn
2cca0788ed #19503 fix closed-pull in ResponseParsingMerge
also assert all stages stopped in HighLevelOutgoingConnectionSpec
2016-01-19 10:21:00 +01:00
Roland Kuhn
dd388d838b fix HttpResponseRenderer termination
- upstream termination arriving after a pull() would lead to deadlock
- downstream pull that goes to SubSink would lead to deadlock if followed
  by SubSink completion
2016-01-19 10:21:00 +01:00
Roland Kuhn
5523e1d70f #19467 avoid pulling closed port in ProtocolSwitch 2016-01-19 10:21:00 +01:00
Roland Kuhn
8d6bacab2f #19451 use random port in WebsocketIntegrationSpec 2016-01-19 10:21:00 +01:00
Roland Kuhn
e0361ece66 #19398 fix stream leak in ProtocolSwitchStage
also fix potential NPE in TCP streams when failed or canceled early for
an outgoing connection
2016-01-19 10:21:00 +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
Konrad Malawski
1caf4b2502 Merge pull request #19476 from drewhk/wip-19441-java-optional-in-javadsl-drewhk
Wip 19441 java optional in javadsl drewhk
2016-01-18 13:54:27 +01:00
Roland Kuhn
ab117c9e56 #19427 do not require Flow in UpgradeToWebsocket 2016-01-17 17:19:36 +01:00
Endre Sándor Varga
57c1dfde8a 19441: Use Optional instead of Option in http core javadsl 2016-01-15 16:20:46 +01:00
Konrad Malawski
ba1240e28f Merge pull request #19455 from 2beaucoup/remove-java6-compat
Remove java6 compat
2016-01-14 18:50:53 +01:00
Konrad Malawski
745ae25f47 =htc #19418 add compile test for accessing javadsl content/media type 2016-01-14 18:32:14 +01:00
Konrad Malawski
2cd552294d =htc #19418 avoid LUB problem in javadsl.model.ContentType, see SI-9621 2016-01-14 17:05:08 +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
9fd543bff0 =htc #19418 avoid LUB calculation problem, see SI-9621 2016-01-14 14:25:43 +01:00
Roland Kuhn
be0c8af4c0 Merge pull request #19425 from akka/wip-19094-fix-double-pull-PoolConductor-RK
Wip 19094 fix double pull pool conductor rk
2016-01-13 20:29:27 +01:00
Konrad Malawski
6122fe43a3 =pro disable docs in http core for now 2016-01-13 14:49:11 +01:00
Roland Kuhn
e1922dad45 #19417 fix empty.head error in WebSocket termination
also fixes related issues in HTTP Server and OutgoingConnection and
addresses one flaw in Websocket.BypassRouter
2016-01-13 13:40:02 +01:00
Roland Kuhn
ba282d2e3b fix actor leak in streams
The leak could happen if using sub-materializer and the substream
terminates during its initial runBatch() already.
2016-01-13 13:39:56 +01:00
Roland Kuhn
bc4800149f #19094 fix double pull in PoolConductor 2016-01-13 12:00:17 +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
Roland Kuhn
72eb3f539d Merge pull request #19396 from akka/wip-18948-eagerComplete-RK
#18948 add eagerComplete parameter to FlowOps.merge
2016-01-11 15:42:59 +01:00