Commit graph

1211 commits

Author SHA1 Message Date
drewhk
9ce116c18b Merge pull request #16403 from drewhk/wip-15802-ticksource-cancellable-drewhk
=str: #15802: TickSource cancellable
2014-12-01 17:45:02 +01:00
Endre Sándor Varga
7344063cfc =str: #15802: TickSource cancellable
also, fixing intermediate materialization for Source.concat
2014-12-01 15:56:25 +01:00
Konrad Malawski
dde86bc764 Merge pull request #16404 from ktoso/str-verify-headsubscriber-ktoso
+str #15804 blackbox verification for head subscriber
2014-12-01 12:25:31 +01:00
drewhk
fdf66ae3c5 Merge pull request #16387 from drewhk/wip-16285-expand-fail-drewhk
=str: #16285: Expand should not drop elements on completion
2014-12-01 12:15:26 +01:00
Roland Kuhn
1091aee6a8 =all some more fixes to make it build in Eclipse 2014-11-28 13:06:06 +01:00
Roland Kuhn
6aed4332e1 Merge pull request #16417 from akka/wip-fix-eclipse-build
+htc fix Java build for Eclipse
2014-11-28 12:32:54 +01:00
Björn Antonsson
2181239c8d Merge pull request #16383 from akka/wip-16071-16072-new-io-and-http-api-ban
+str,htc #16071, #16072 New Stream Tcp and Http API
2014-11-28 11:05:05 +01:00
Björn Antonsson
672d4ed091 +str,htc #16071, #16072 New Stream Tcp and Http API
* StreamTcp and Http extensions now return Flows and Sources that can be materialized later
* Flow can now be completed with another flow to be turned into a runnable flow
2014-11-28 10:41:57 +01:00
Roland Kuhn
b7c4325fd1 +htc fix Java build for Eclipse 2014-11-27 21:15:34 +01:00
Endre Sándor Varga
325e1b6915 =str: #16285: Expand should not drop elements on completion 2014-11-27 15:18:23 +01:00
Konrad 'ktoso' Malawski
468e25d84b +act #15804 blackbox verification for head subscriber 2014-11-27 15:18:11 +01:00
Konrad Malawski
cac9137aa9 Merge pull request #16411 from ktoso/fix-remaining-timerTransform-refs-ktoso
-str #16393 removes timerTransform mentions from scaladocs
2014-11-27 13:26:31 +01:00
Konrad 'ktoso' Malawski
e75c2305e7 -str #16393 removes timerTransform mentions from scaladocs 2014-11-27 11:36:09 +01:00
drewhk
86337e22ce Merge pull request #16398 from drewhk/wip-16345-interpreter-overflow-drewhk
=str: #16345: fix IndexOOB, and error handling in the interpreter
2014-11-27 11:33:29 +01:00
Endre Sándor Varga
7872b0793b =str: #16345: fix IndexOOB, and error handling in the interpreter 2014-11-27 11:10:46 +01:00
Björn Antonsson
5e04d11d66 Merge pull request #16337 from spray/wip-15799-mathias
Add server-side support for `Expect: 100-continue`, other improvements
2014-11-27 10:56:10 +01:00
Konrad Malawski
3cc47984aa Merge pull request #16397 from ktoso/str-remove-timer-transform-ktoso
-str #16393 removes timerTransform from public API
2014-11-27 10:37:55 +01:00
Mathias
142929165c =htc prevent response entity rendering for status codes not allowing response entities 2014-11-27 10:31:54 +01:00
Mathias
b5a66eb458 =htc #15799 add server-side 100-continue support, fix request- and entity-stream error propagation 2014-11-27 10:31:50 +01:00
Mathias
5112d49c13 +htc minor additions to header model 2014-11-27 10:12:21 +01:00
Mathias
37a476ab46 =htc small simplification in message parsers 2014-11-27 10:12:19 +01:00
Mathias
2d9a49d010 =htc replace merge + zip in server pipeline with new FlexiMerge 2014-11-27 10:11:09 +01:00
Mathias
eaa9f52891 =htc fix broken per-connection header cache 2014-11-27 10:11:09 +01:00
Konrad 'ktoso' Malawski
c2242ce84e -str #16393 removes timerTransform from public API 2014-11-26 12:28:43 +01:00
Konrad Malawski
3df5eb3799 Merge pull request #16390 from spray/w/16388-fix-SOE-in-chunk-parsing
=htc #16388 fix StackOverflowException during chunk parsing
2014-11-25 16:19:12 +01:00
Johannes Rudolph
dd27fdd485 =htc #16388 fix StackOverflowException during chunk parsing 2014-11-25 15:53:29 +01:00
Konrad Malawski
616e8b7ad9 Merge pull request #16384 from ktoso/rs-100M1-ktoso
=pro update to reactive-streams 1.0.0.M1
2014-11-25 12:18:11 +01:00
Konrad 'ktoso' Malawski
5550ca29f4 =pro update to reactive-streams 1.0.0.M1
Notice that one 317 is disabled and awaiting a fix in the TCK
2014-11-25 10:42:12 +01:00
Patrik Nordwall
10c307ab9f Merge pull request #16360 from akka/wip-16321-FlexiMergeTest-patriknw
=str #16321 Harden FlexiMergeTest
2014-11-25 10:12:40 +01:00
Patrik Nordwall
74be575062 Merge pull request #16362 from akka/wip-16318-FlexiRouteTest-patriknw
=str #16318 Harden FlexiRouteTest
2014-11-25 10:11:02 +01:00
Björn Antonsson
a255a6c4c5 Merge pull request #16292 from spray/wip-15923-mathias
MarshallingDirectives, FormFieldDirectives, and more
2014-11-24 11:48:44 +01:00
Mathias
dbf76cb096 !htp #15923 port FormFieldDirectives from spray 2014-11-24 10:35:07 +01:00
Mathias
193dda6e01 !htp #15927 port MarshallingDirectives from spray 2014-11-24 10:35:07 +01:00
Mathias
931e8f9b18 !htk rename RouteTest::entity to RouteTest::responseEntity, smaller test cleanups
Also upgrade to latest (un)marshalling changes.
2014-11-24 10:34:43 +01:00
Mathias
d65fe4e04e !htp #16190 refactor and improve marshalling infrastructure, get rid of Marshallers abstraction altogether
Also improve Unmarshalling infrastructure once more.
2014-11-24 10:34:24 +01:00
Mathias
5b126b6d8b +htc apply smaller extensions and simplifications 2014-11-24 10:28:18 +01:00
Patrik Nordwall
966b7477ca =str #16318 Harden FlexiRouteTest 2014-11-21 16:16:04 +01:00
Patrik Nordwall
56751c8a1d =str #16321 Harden FlexiMergeTest 2014-11-21 15:05:22 +01:00
Patrik Nordwall
b285fa0c55 Merge pull request #16287 from akka/wip-15236-transformer-patriknw
!str #15236 new transformer
2014-11-21 12:21:22 +01:00
Patrik Nordwall
a82f266367 !str #15236 Replace Transformer with Stage
* replace all existing Transformer with Stage (PushPullStage)
* use Flow[ByteString, ByteString] as encoder/decoder transformer in http
* use the IteratorInterpreter for strict if possible
* emit then become
* emit then finish
* termination emits
* FlowTransformerSpec
* rework types to work with Java API
* rename and move things
* add scaladoc
2014-11-21 11:41:34 +01:00
Patrik Nordwall
299854905b Merge pull request #16349 from 2m/wip-16349-fix-map-map-optimization
=str #16349 fix map + map optimization
2014-11-21 08:30:24 +01:00
Martynas Mickevičius
67e2ba9263 =str #16349 fix map + map optimization 2014-11-20 17:01:49 +02:00
Patrik Nordwall
55980aded5 Merge pull request #16340 from akka/wip-16338-mapConcat-patriknw
=str #16338 Emit final elements in mapConcat
2014-11-20 12:52:53 +01:00
Patrik Nordwall
837ce3eb12 =str #16338 Emit final elements in mapConcat 2014-11-19 19:51:44 +01:00
Konrad Malawski
523605349c Merge pull request #16333 from akka/wip-rename-reactivestreamsconstants-√
=str - renames ReactiveStreamsConstants to ReactiveStreamsCompliance
2014-11-19 16:23:22 +01:00
Viktor Klang
cb6da7a3d4 =str - renames ReactiveStreamsConstants to ReactiveStreamsCompliance 2014-11-19 15:31:43 +01:00
Konrad Malawski
9ee2a1f882 Merge pull request #16329 from akka/wip-harden-iterator-publisher-√
=str - hardens the IteratorPublisher by making it use the ReactiveStream...
2014-11-19 11:27:00 +01:00
Konrad Malawski
d91b8aa00d Merge pull request #16317 from ktoso/fix-16315-key-could-be-already-cancelled-ktoso
=str #16315 fixes assumption that substream key is always present
2014-11-19 10:40:35 +01:00
Konrad Malawski
849eda2337 Merge pull request #16326 from spray/w/16289-fix-handleExceptions
=htp #16289 in `handleException` also catch strict exceptions during route building or execution
2014-11-19 10:25:53 +01:00
Konrad 'ktoso' Malawski
630beb0a5c =str #16315 fixes assumption that substream key is always present
Additional fix for race when timout put to mailbox, then timeout cancelled and subscribe succeeds.
So it could happen, that JUST BEFORE `subscriptionTimeout.cancel()` the
`SubstreamSubscriptionTimeout` was already put into the actor's mailbox,
the cancelling then kicks in (does nothing) and then the attaching of
the subscriber kicks in, it passes OK. So the actor gets the timeout
first and then the subscription... So the publisher is already
subscribed to by some subsciber. But now the actor gets the
SubstreamSubscriptionTimeout message, and wants to subscribe the
cancelling subscriber to it. The publisher can only handle 1 subscriber,
so attaching of the cancelling subscriber will fail - well this is not
very bad, because it will just onError the cancelling subscriber rigth
away, but it can be missleading because the debug log will contain the
"cancelling... after..." message, while it has not REALLY cancelled it.

The isAttached can not be added to handleSubscriptionTimeout because
there it's "too late" and the log message would already be sent..

So while writing this up I noticed that it's not an "error race", but
it's still a race we could avoid when putting this isAttached check
before cancelling the publisher... do you think it's worth it?
2014-11-19 10:17:33 +01:00