Commit graph

632 commits

Author SHA1 Message Date
Martynas Mickevičius
a8abbaf36b wip #19441 convert from Option to Optional in javadsl 2016-01-25 11:02:54 +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
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
Roland Kuhn
ed6fbdfd3c Merge pull request #19375 from akka/revert-19250-wip-fix-multipart-model-java6-ktoso
Revert "!htc fix multipart model (java6 had trouble)"
2016-01-11 13:40:36 +01:00
Roland Ferenczy
144875a665 #18948 add eagerComplete parameter to FlowOps.merge 2016-01-11 10:58:01 +01:00
Konrad Malawski
e6b8c86315 Merge pull request #19369 from akka/wip-no-fuzzing-in-test-server
=htc disable fuzzing-mode by default in TestServer
2016-01-08 17:07:53 +01:00
Konrad Malawski
43389d60d2 Merge pull request #19255 from spray/w/19240-http-remove-flattenMerges
Fix performance of HTTP server (for strict entities at least)
2016-01-08 13:56:32 +01:00
Konrad Malawski
5b5474d8aa Revert "!htc fix multipart model (java6 had trouble)" 2016-01-07 14:20:26 +01:00
Konrad Malawski
5ac1b7ee47 Merge pull request #19210 from spray/w/18349-add-TlsSessionInfo-header
+htc #18349 emit Tls-Session-Info header when configured on both client and server
2016-01-07 13:52:34 +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
Johannes Rudolph
98173533ae +htc #18349 emit Tls-Session-Info header when configured on both client and server 2016-01-05 14:55:17 +01:00
Konrad Malawski
b4f367e46a Merge pull request #19349 from ktoso/wip-withoutSizeLimit-ktoso
+htc #19237 entity#withSizeLimit for Java + add withoutSizeLimit
2016-01-05 14:39:51 +01:00
raam
020694d823 =htc Added test to check if charset is set on application/json content type 2016-01-05 12:50:49 +01:00