Commit graph

1623 commits

Author SHA1 Message Date
Endre Sándor Varga
82a7f13a02 =str 16940: Implement shallow copy of layouts 2015-04-23 18:00:01 +02:00
Patrik Nordwall
33919f683c Merge pull request #17228 from akka/wip-16699-fixmes-patriknw
=str #16699 fix some FIXMEs
2015-04-23 14:37:20 +02:00
Patrik Nordwall
c63b9c801a =str #16699 fix some FIXMEs 2015-04-23 14:36:53 +02:00
Roland Kuhn
e7816b2979 Merge pull request #17248 from spray/w/websockets
Server-side Websocket support
2015-04-23 14:26:25 +02:00
Patrik Nordwall
f5472a5581 Merge pull request #17234 from akka/wip-15707-source-sink-names-patriknw
=str 15707 Define default names for sources and sinks
2015-04-23 13:23:29 +02:00
Patrik Nordwall
45da4513af Merge pull request #17243 from akka/wip-stream-supress-deadletters-patriknw
=str Use some more DeadLetterSuppression
2015-04-22 21:35:19 +02:00
Johannes Rudolph
6fef5d534c +htc #16887 add support for WS application-level subprotocol negotiation 2015-04-22 13:58:39 +02:00
Johannes Rudolph
cd87dadf54 +htp #16887 add simple websocket support directive to akka-http 2015-04-22 13:57:32 +02:00
Johannes Rudolph
23b9952149 =htc #16887 integrate websocket pipeline into http server 2015-04-22 13:57:32 +02:00
Johannes Rudolph
6dafa445de =htc #16887 implement high-level server-side Websocket API 2015-04-22 11:10:44 +02:00
Johannes Rudolph
880733eb3d =htc make headAndTail work if prefixAndTail returns an empty prefix 2015-04-22 11:10:44 +02:00
Johannes Rudolph
73722c425d =htc #16887 websocket framing implementation 2015-04-22 11:08:09 +02:00
Johannes Rudolph
23a5dadee0 =htc #16887 a Utf8 encoder and decoder 2015-04-22 11:08:09 +02:00
Johannes Rudolph
2402bedc6a +htc #16887 add server-side websocket API and add example to TestServer 2015-04-22 11:08:09 +02:00
Johannes Rudolph
a58859c77c +str #17145 add new Flow.wrap overload to create flow from sink and source 2015-04-22 11:08:09 +02:00
Johannes Rudolph
d67b5823e6 =htc #17129 Preliminary fix until this is fixed with the new features from #16168 2015-04-22 11:08:09 +02:00
Patrik Nordwall
c1daaf0421 Merge pull request #17212 from akka/wip-16986-mem-leak-PrefixAndTail-patriknw
=str #16986 Fix memory leak in PrefixAndTail when using Sink.publisher
2015-04-21 16:48:41 +02:00
Patrik Nordwall
2a975bfb35 =str #16986 Fix memory leak in PrefixAndTail when using Sink.publisher
The problem was reproduced with the TCK PrefixAndTailTest
required_spec313_cancelMustMakeThePublisherEventuallyDropAllReferencesToTheSubscriber
The tck subscriber was still referenced. Profiling revealed that the
root cause was the VirtualPublisher that holds a reference to the
realPublisher, which was MultiStreamOutputProcessor$SubstreamOutput,
which had the reference to the subscriber. The VirtualPublisher
is created by the Sink.publisher in the test, and the test holds
on to that VirtualPublisher reference.

The solution is to null out realPublisher field in the VirtualPublisher.

The old workaround with the NullSubscriber was removed.

Also made Sink.publisher reject additional subscribers.
2015-04-21 16:11:23 +02:00
Johannes Rudolph
7b72fca3c2 +htc introduce big endian read methods to ByteReader 2015-04-21 15:23:37 +02:00
Johannes Rudolph
4e3c1db4bb +htc #16887 add Upgrade header parsing/rendering 2015-04-21 15:23:37 +02:00
Johannes Rudolph
2cf1c41eef +htc #16887 implement Websocket header parsing/rendering 2015-04-21 15:09:50 +02:00
Patrik Nordwall
4a961786aa =str Use some more DeadLetterSuppression 2015-04-21 11:34:01 +02:00
Roland Kuhn
050c0549f3 Merge pull request #17218 from spray/wip-16795-mathias
=htc #16795 add missing test
2015-04-21 10:27:38 +02:00
Mathias
24fb36a48d =htc #16795 add missing test 2015-04-20 21:49:09 +02:00
Roland Kuhn
d6f5b4ad2d Merge pull request #17210 from ktoso/wip-concat-docs-ktoso
Document mapConcat's Seq should not contain nulls
2015-04-20 21:22:32 +02:00
Patrik Nordwall
373f1acf3a =str 15707 Define default names for sources and sinks
* Not intended to close the ticket, but improve the situation somewhat
  by defining default names of all sources and sinks.
* The stage names (actor names) are still rather weird

For example the following

    Source.single(1).named("aa")
      .map(identity).named("bb")
      .map(identity).named("cc")
      .runWith(Sink.publisher)

is materilaized with names:
flow-1-0-cc-bb-aa-singleSource : akka.stream.impl.PublisherSource@1787f2a0
flow-1-1-cc-bb-map : Map(<function1>,OperationAttributes(List(Name(map))))
flow-1-2-cc-map : Map(<function1>,OperationAttributes(List(Name(map))))
flow-1-3-publisherSink : PublisherSink

but that is out of scope for this commit
2015-04-20 21:04:03 +02:00
Roland Kuhn
f9a3da4d36 Merge pull request #17230 from spray/wip-17227-mathias
=htc #17227 always render `HttpChallenge` realm in double-quotes
2015-04-20 19:53:42 +02:00
Mathias
92e992e6fc =htc #17227 always render HttpChallenge realm in double-quotes 2015-04-20 16:30:42 +02:00
Patrik Nordwall
aad8704085 Merge pull request #17190 from akka/wip-17189-graph-attr-patriknw
!str #17189 Add withAttributes and named to Graph
2015-04-17 12:47:42 +02:00
Patrik Nordwall
c6404d3e44 !str #17189 Add withAttributes and named to Graph
* Remove optional attributes parameter in favor of withAttributes
* Overload explosion when trying to add attributes to ZipWith.
* Aligned with Flow and Source.
2015-04-17 11:31:32 +02:00
Patrik Nordwall
c98aee55ed Merge pull request #17182 from akka/wip-16975-stream-tcp-dispatcher-patriknw
=str #16975 Use akka.io management-dispatcher for StreamTcp manager and listener
2015-04-16 16:29:43 +02:00
Patrik Nordwall
f4d295556b Merge pull request #17193 from akka/wip-16951-disentagle-OperationAttributes-patriknw
!str #16951 Unify OperationAttributes, and move actor specifics ActorOperationAttributes
2015-04-16 14:50:09 +02:00
Patrik Nordwall
00033313e0 !str #16951 Unify scaladsl and javadsl OperationAttributes
* Move actor specific attributes to ActorOperationAttributes
2015-04-16 14:16:01 +02:00
Roland Kuhn
4388782af4 Merge pull request #17121 from spray/wip-17051-mathias
=htp #17051 fix BodyPartParser not handling streaming entities correctly
2015-04-16 12:55:06 +02:00
Konrad Malawski
38638e42e4 =str #16608 adds scaladoc about null in col returned from mapConcat 2015-04-15 17:51:18 +02:00
Konrad Malawski
88e013b99b =str #16608 adds section in readme explaining null is illegal 2015-04-15 17:50:43 +02:00
Patrik Nordwall
91b0e05b0c Merge pull request #17192 from akka/wip-17173-flexi-complete-patriknw
=str #17173 Clarify CompletionHandling scaladoc
2015-04-14 17:11:53 +02:00
Patrik Nordwall
739796d81e =str #17173 Clarify CompletionHandling scaladoc 2015-04-14 17:11:14 +02:00
Martynas Mickevičius
da5fde03c7 Merge pull request #17142 from 2m/wip-minor-typo-fixes
=str minor typo fixes and scala version bump
2015-04-14 16:53:39 +03:00
Konrad Malawski
9fd425021b Merge pull request #17195 from akka/wip-17191-mapAsyncUnordered-termination-∂π
=str #17191 mapAsyncUnordered shall terminate after resume
2015-04-14 14:34:47 +02:00
Roland Kuhn
7681c557f7 =str #17191 mapAsyncUnordered shall terminate after resume 2015-04-14 12:41:34 +02:00
Patrik Nordwall
9c40b543bd Merge pull request #17175 from akka/wip-16957-actor-creation-patriknw
=str #16957 Refactor actor creation api for sinks and sources
2015-04-14 11:42:51 +02:00
Patrik Nordwall
4fcd3d0392 =str #16957 Refactor actor creation api for sinks and sources
* also solves #16952, dispatcher for ActorPublisher
2015-04-14 11:02:33 +02:00
Roland Kuhn
6d0ad317d0 Merge pull request #17188 from akka/wip-17157-correct-input-in-ReadPreferred-∂π
=str #17157 indicate right input in ReadPreferred
2015-04-14 10:52:02 +02:00
Roland Kuhn
78fb33be32 =str #17157 indicate right input in ReadPreferred 2015-04-14 08:55:39 +02:00
Martynas Mickevičius
57e5976996 =str minor typo fixes and scala version bump 2015-04-13 20:10:59 +03:00
Patrik Nordwall
70c2276849 =str #16975 Use akka.io management-dispatcher for StreamTcp manager and listener 2015-04-13 13:47:42 +02:00
Patrik Nordwall
386ff80a0e Merge pull request #17163 from akka/wip-16937-rm-section-patriknw
!str #16937 Remove section, in favor of via and separate flow
2015-04-10 20:22:58 +02:00
Patrik Nordwall
b69988c190 !str #16937 Remove section, in favor of via and separate flow 2015-04-10 17:34:29 +02:00
Roland Kuhn
bb0bed7d3c Merge pull request #17133 from spray/wip-17039-mathias
str, htc, htp: Change default materialization placeholder type from `Unit` to `Any`
2015-04-10 15:51:33 +02:00