Commit graph

18293 commits

Author SHA1 Message Date
Kailuo Wang
90cba9ce0d +act #18356 Metrics based resizer for router 2015-10-22 11:14:00 -04:00
Konrad Malawski
0f99a42df9 Merge pull request #18750 from spray/w/18628-errors-from-ws-handler
Fix #18628 and other smallish WS changes
2015-10-22 12:55:43 +02:00
Konrad Malawski
99acd2480b Merge pull request #18723 from spray/wip-17344-mathias
htc: check for client-side response stream truncation
2015-10-22 12:38:31 +02:00
Johannes Rudolph
a283f43d1b =htc log error if user handler fails 2015-10-22 11:15:43 +02:00
Mathias
ff7d644fd6 =htc #17344 Error-close client-side response stream if there are responses pending at connection end 2015-10-22 09:38:03 +02:00
Mathias
6e9ac310c0 +str #17344 add One2OneBidiFlow 2015-10-22 09:37:57 +02:00
Johannes Rudolph
abe0123a92 =htp #18759 fix accidental recursive loop in java WebsocketUpgradeResponse 2015-10-22 09:15:22 +02:00
Johannes Rudolph
c040e2b69e !htc move scala side WebsocketUpgradeResponse to scaladsl.model.ws
This makes it consistent with the java side and cleans up scaladsl.Http.
2015-10-22 09:15:22 +02:00
Johannes Rudolph
4a5610e282 =htc #18628 WS: report proper close code when user handler fails 2015-10-22 09:15:20 +02:00
Johannes Rudolph
741d37a5bb +htc report peer close reasons to the user with custom exception 2015-10-22 09:14:35 +02:00
Johannes Rudolph
5d766749d3 =htc use automatic probes in MessageSpec 2015-10-22 09:08:05 +02:00
Roland Kuhn
692a73724f Merge pull request #18605 from akka/wip-HTTP-graphs-∂π
=htp replace all FlexiMerge/Route with GraphStage
2015-10-21 22:02:57 +02:00
Roland Kuhn
684f3e3175 Merge pull request #18697 from agolubev/agolubev-#18133-Sink.actorSubscriber()-verify-props
=str #18133 Sink.actorSubscriber() should verify the props
2015-10-21 18:56:28 +02:00
Roland Kuhn
02810cfa64 !str,htc remove FlexiMerge/Route
- replace all occurrences with equivalent GraphStage implementations

This commit introduces a mini-DSL for GraphStage that allows emitting or
reading multiple elements to/from a port with one statement, installing
stateful handlers on the port to make it work. The emitting side allows
stacked continuations, meaning that while an emit() is ongoing (waiting
for demand) another one can be added to the queue; this allows
convenient formualation of merge-type stages.
2015-10-21 18:52:16 +02:00
Roland Kuhn
dc07fd250c !str make Inlet/Outlet invariant and add Java variance
This necessitates the removal of method overloading in the Java Graph
DSL: the to() and via() methods were not otherwise resolved correctly by
javac, leading to incomprehensible error messages. The new approach is
to offer just one way of doing things which is a bit more verbose but
should be easier to read and learn. In this vein auto-importing while
using the DSL is also gone for Java—not sure about Scala yet.
2015-10-21 17:48:54 +02:00
Roland Kuhn
142ffea52b Merge pull request #18667 from analytically/release-2.3-dev
=htc accept entity for DELETE and GET methods
2015-10-21 17:44:27 +02:00
Heiko Seeberger
821dc2199b +act #18575 Publish MemberJoined 2015-10-21 17:30:28 +02:00
Patrik Nordwall
a6279b7b3f Merge pull request #18753 from eshepelyuk/emptyEventsStreamForCleanedJournal-18751-eshepelyuk
+per #18751 Persistence: Return completed current events stream for cleaned journal
2015-10-21 17:11:28 +02:00
Ievgenii.Shepeliuk
3cc1d0fe8e +per #18751 Persistence: Return completed current events stream for cleaned journal 2015-10-21 14:25:38 +03:00
2beaucoup
9ba7468d7e =htp #17971 parse responses with missing reason phrase 2015-10-21 13:23:56 +02:00
Roland Kuhn
fb80ac8acb Merge pull request #18705 from akka/wip-18699-typed-death-pact
=typ #18699 pass Unhandled message to unhandled()
2015-10-21 10:19:05 +02:00
Johan Andrén
146bb89e23 =act #18371 Warn if the default Java serializer is used
Unless the message is in akka.* or the configuration setting 'akka.actor.warn-about-java-serializer-usage'
is disabled a warning is logged for each class that the Java serializer is choosen for.
2015-10-21 10:10:24 +02:00
Patrik Nordwall
6b6a16637b Merge pull request #18689 from akka/wip-doc-asyncWriteMessages-concurrency-patriknw
=per Clarify concurrency of asyncWriteMessages
2015-10-21 09:25:48 +02:00
Patrik Nordwall
9380983d3c =clu #18554 Make oldest assignment deterministic when joining
* the reported issue is fixed by the immediate leaderActions
  (moving to Up)  when joining the first node to itself
* the other changes are precautions just in case
2015-10-21 07:53:14 +02:00
Patrik Nordwall
ba12c04026 Merge pull request #18721 from eshepelyuk/highestSeqNoKeptAfterMsgDeletion-18559-eshepelyuk
=per #18559 TCK tests for highestSequenceNr not reset after journal message deletion
2015-10-20 19:41:48 +02:00
Konrad Malawski
c6a5864e25 Merge pull request #18690 from hakuch/17353-verbosity-hakuch
=htt #17353 Reduce verbosity of logging on pool shutdown
2015-10-20 14:55:16 +02:00
Konrad Malawski
f01c43b88a Merge pull request #18739 from johanandren/wip-18706-RangeDirectivesExampleSpec-johanandren
=doc #18706 re-enable RangeDirectivesExampleSpec
2015-10-20 11:19:21 +02:00
Konrad Malawski
1bacae3cac Merge pull request #18740 from markus1189/docs
=doc Add missing `by` in Routing docs
2015-10-20 11:16:27 +02:00
Markus Hauck
eed72626dd =doc Add missing by in Routing docs
Add a missing `by` to the Routing docs, Specially Handled Messages section.
2015-10-20 09:27:12 +02:00
Evgeny Shepelyuk
4eaa77608c +per #18559 TCK tests for highestSequenceNr not reset after journal message deletion
* added tests
* docs about highestSeqenceNr behaviour after message deletion
* clarification about highestSequenceNr in AsyncRecovery#asyncReadHighestSequenceNr and AsyncWriteJournal#asyncDeleteMessagesTo
2015-10-19 19:36:13 +03:00
Konrad Malawski
ace389b1f4 Merge pull request #18688 from akka/wip-18636-doc-blocking-mailboxes-patriknw
=doc #18636 Correction of mailbox documentation
2015-10-19 17:34:35 +02:00
Johan Andrén
0969b6263e RangeDirectivesExamplesSpec uncommented and working 2015-10-19 16:48:21 +02:00
Konrad Malawski
8270fedb6c Merge pull request #18655 from AnIrishDuck/wip-18058-tls-errors
#18058 Bubble up tls errors
2015-10-19 16:31:47 +02:00
Patrik Nordwall
82f67f82f9 Merge pull request #18542 from akka/wip-18339-handshake-timeout-patriknw
=rem #18339 Use explicit handshake timeout
2015-10-19 16:04:51 +02:00
Konrad Malawski
c4787df892 Merge pull request #18710 from jypma/persistence_query_constructors
Only try further constructors if constructor can't be found.
2015-10-19 14:40:10 +02:00
Jan Ypma
0b0a86df54 =per #18708 only try further constructors if constructor can't be found
* Any exception in a read journal's constructor can now be
propagated to the caller correctly without being shadowed.
2015-10-19 14:37:57 +02:00
Patrik Nordwall
94896e8e75 =rem #18339 Use explicit handshake timeout
* instead of using transport failure detector
* add a new config property akka.remote.handshake-timeout, but
  for netty.tcp and netty.ssl the existing netty.tcp.connection-timeout
  setting will be used
* add test of the timeouts
* mima filter for internal ProtocolStateActor
2015-10-19 14:34:52 +02:00
Konrad Malawski
5f3b8f4e28 Merge pull request #18734 from ktoso/wip-intersperse
+str #17383 implement intersperse
2015-10-19 13:36:57 +02:00
Konrad Malawski
b8ea349c3a Merge pull request #18693 from spray/w/17275-squashed
#17275 Websocket Client implementation
2015-10-19 13:26:09 +02:00
Konrad Malawski
61c2213e02 +str #17383 implement intersperse 2015-10-19 13:17:23 +02:00
Konrad Malawski
022e6fb1a5 Merge pull request #18730 from ktoso/wip-docs-parallelism-ktoso
=doc explain parallelism-max in more detail
2015-10-19 11:28:32 +02:00
Konrad Malawski
7b55a87802 =doc explain parallelism-max in more detail 2015-10-19 10:50:54 +02:00
Johannes Rudolph
ddc8cd804b =htc move Sec-WebSocket-Key creation/validation to header model 2015-10-19 09:19:23 +02:00
Johannes Rudolph
f6732f3369 =htc server side handshake cleanup and clarifications 2015-10-19 09:19:22 +02:00
Johannes Rudolph
d4b5f29c57 +htc #17275 Java-side of Websocket client API 2015-10-19 09:19:22 +02:00
Johannes Rudolph
00b4eefab5 !htc #17275 encapsulate Websocket request arguments in new WebsocketRequest class 2015-10-19 09:02:05 +02:00
Johannes Rudolph
08aa903408 =htc Websocket Autobahn Suite test runners and documentation 2015-10-19 09:02:05 +02:00
Johannes Rudolph
870ff2bbdc +htc #17275 Websocket client implementation 2015-10-19 09:02:05 +02:00
Johannes Rudolph
11e593a1fa =htc introduce ByteStringSinkProbe and update tests to new infrastructure 2015-10-19 09:02:05 +02:00
Konrad Malawski
01fd65eb29 Merge pull request #18731 from ch33hau/wip-fix-simple-typos
=doc =per fixed a few typos from 'Unknow' to 'Unknown'
2015-10-15 14:27:25 +02:00