Commit graph

950 commits

Author SHA1 Message Date
Patrik Nordwall
b2e7804512 Merge pull request #16010 from akka/wip-15946-simple-flow-graphs-patriknw
+str #15946 Support flows without junctions in FlowGraph
2014-10-03 14:09:33 +02:00
Patrik Nordwall
f836339996 +str #15946 Support flows without junctions in FlowGraph
* run simple flow with source/sink without any junctions in FlowGraph
* partial flow graph with undefined source/sink and flows, without junctions
* replace undefined source/sink with flow with source/sink
2014-10-03 14:08:55 +02:00
Björn Antonsson
2f6499bcdf Merge pull request #16015 from spray/wip-16014-mathias
=htc Fix handling of non-BMP characters in URI encoding/decoding
2014-10-03 11:13:09 +02:00
Björn Antonsson
be581dffc1 Merge pull request #15984 from spray/w/15910-encoding-infrastructure
+htp #15910 import coding infrastructure from spray
2014-10-03 11:13:06 +02:00
drewhk
b237f78b3b Merge pull request #16023 from drewhk/wip-15888-fix-unguarded-queue-access-ssl-drewhk
=str #15888: Fix unguarded access to input queue causing NPE
2014-10-03 10:57:49 +02:00
drewhk
fbdd0dc5de Merge pull request #16025 from drewhk/wip-http-bind-failure-testcase-drewhk
=htc Add test case for bind failures
2014-10-03 10:18:30 +02:00
Björn Antonsson
a8013f20b2 Merge pull request #16007 from akka/wip-15977-changin-all-the-small-dsl-things-ban
+str #15977 Rename and change types in the new DSL
2014-10-03 07:52:23 +02:00
Konrad Malawski
57c12ccc77 Merge pull request #16024 from ktoso/wip-hco-java-api-connection-ktoso
+hco #15798 add missing java api for Connection.tokens
2014-10-02 22:41:34 +02:00
Konrad 'ktoso' Malawski
e8f803d011 +hco #15798 add missing java api for Connection.tokens
Resolves #15798
2014-10-02 18:47:33 +02:00
Björn Antonsson
a6ab82f992 !str #15977 Rename and change types in the new DSL
* Cleaned up type signatures
* Changed names of Source/Sink/ProcessorFlow to Tap/Drain/Pipe
* Introduced new Source/Sink/Flow
* Made all Pipe types package private
* Changed the TypeGraph DSL to work on Flow/Sink/Source
2014-10-02 17:32:08 +02:00
Endre Sándor Varga
7dab9636e4 =htc Add test case for bind failures 2014-10-02 17:02:57 +02:00
Endre Sándor Varga
dbb6dbe65b =str #15888: Fix unguarded access to input queue causing NPE 2014-10-02 15:24:48 +02:00
Johannes Rudolph
fb98d1aa69 +htp #15910 import + improve coding infrastructure from spray 2014-10-02 15:22:06 +02:00
Björn Antonsson
afa1a6fd44 Merge pull request #16006 from volkerstampa/wip-16001-foldsink-error-handling-volkerstampa
Propagate error to FoldSink's future. Fixes #16001
2014-10-02 09:27:14 +02:00
Volker Stampa
a4efb121e0 =str #16001 Propagate error to FoldSink's future
* align OnCompleteSink's implementation of error/success handling with
  that of other Sink's
2014-10-01 21:34:12 +02:00
Mathias
abf4091bb7 =htc Fix handling of non-BMP characters in URI encoding/decoding, closes #16014
Also improved the tests for this as they were sub-par so far
2014-10-01 17:16:16 +02:00
Patrik Nordwall
f869979835 Merge pull request #16008 from akka/wip-15960-variance-take2-patriknw
=str #15960 Fix broken FlowGraphCompileSpec
2014-10-01 15:01:34 +02:00
Patrik Nordwall
08a0014fe7 =str #15960 Fix broken FlowGraphCompileSpec
* FlowGraphCompileSpec broke when merging in the unzip on top of
  the variance adjustements
* JunctionOutPort[T] must not be defined like JunctionOutPort[+T]
  because then the NextT = Nothing doesn't work
* Do we have a reason to use JunctionOutPort[+T]? I added +T
  only for symmetry reasons with JunctionInPort[-T].
2014-10-01 13:25:02 +02:00
Patrik Nordwall
c272d9afa5 Merge pull request #16004 from akka/wip-15875-unzip-patriknw
+str #15875 Hook-up unzip operation in the new Streams DSL
2014-10-01 10:02:00 +02:00
Patrik Nordwall
ce96065222 +str #15875 Hook-up unzip operation in the new Streams DSL
* handle output ports in FlowGraph
2014-10-01 10:01:14 +02:00
Patrik Nordwall
412263da4d Merge pull request #16005 from akka/wip-15960-FlowGraph-variance-patriknw
+str #15960 Correction of FlowGraph variance
2014-10-01 09:58:28 +02:00
Patrik Nordwall
bd352df0b2 +str #15960 Correction of FlowGraph variance 2014-10-01 09:56:44 +02:00
Patrik Nordwall
d89d9abf49 Merge pull request #15999 from akka/wip-15996-unordered-mapFuture-patriknw
+str #15996 Add unorderedMapAsync
2014-10-01 09:54:33 +02:00
Patrik Nordwall
2b0565d81e +str #15996 Add mapAsyncUnordered
* rename mapFuture to mapAsync
* add mapAsyncUnordered
* extract common things for emits to a trait
2014-10-01 09:49:46 +02:00
Patrik Nordwall
7da2273497 Merge pull request #15997 from akka/wip-15900-fanout-actor-name-patriknw
=str #15900 Make fanout publisher actor name unique
2014-10-01 09:43:14 +02:00
Patrik Nordwall
1555fca655 Merge pull request #15994 from akka/wip-15892-ClassCastException-ThunkSource-patriknw
=str #15892 Fix ClassCastException in ThunkSource
2014-10-01 09:42:29 +02:00
Björn Antonsson
4cf76cff2e Merge pull request #15986 from akka/wip-15945-clean-up-unbind-ban
!str,hco #15945 Make creation of ServerBinding public again
2014-09-29 16:52:25 +02:00
Patrik Nordwall
66f86b6e9b =str #15892 Fix ClassCastException in ThunkSource
* and add test
2014-09-29 16:07:13 +02:00
Patrik Nordwall
da5c4c4594 =str #15900 Make fanout publisher actor name unique 2014-09-29 16:05:31 +02:00
Björn Antonsson
ea3198e6e5 !str,hco #15945 Make creation of ServerBinding public again 2014-09-29 15:12:40 +02:00
Björn Antonsson
386c3ba815 Merge pull request #15983 from akka/wip-15945-unbind-tcp-and-http-connection-ban
+hco #15945 Make Tcp and Http server binding closeable
2014-09-26 13:31:41 +02:00
Björn Antonsson
e62945654f +hco #15945 Make Tcp and Http server binding closeable 2014-09-26 12:03:25 +02:00
Björn Antonsson
ad1ad44fcc Merge pull request #15975 from spray/wip-15962-mathias
Remove `Deferrable[T]` and replace with POF (plain old Future)
2014-09-26 11:27:34 +02:00
Björn Antonsson
49f2e8bcf5 Merge pull request #15969 from spray/wip-15490-mathias
Improve handling of `Transfer-Encoding` header
2014-09-26 06:25:02 +02:00
Mathias
36904eadcb =htc Improve handling of Transfer-Encoding header, closes #15490 2014-09-25 16:53:44 +02:00
Mathias
0afebd1c39 !htc Tighten up header model some more, update spec links 2014-09-25 16:48:03 +02:00
Mathias
a2cf6cf228 !htc Remove obsolete ProtectedHeaderCreation construct 2014-09-25 16:48:03 +02:00
drewhk
82d4963382 Merge pull request #15940 from drewhk/wip-15498-dont-close-after-head-closedelimited-drewhk
Implement transparent HEAD support
2014-09-25 15:22:01 +02:00
Endre Sándor Varga
8fad19c88c +hco #15498: Transparent HEAD support
- don't close on HEAD request when sending CloseDelimited
2014-09-25 15:21:17 +02:00
Björn Antonsson
fb96a2964b Merge pull request #15967 from spray/w/15635-http-remove-all-global-state
!hco #15635 reorganize registration of predefined, custom HTTP primitives + other small improvements
2014-09-25 15:12:03 +02:00
Mathias
ad26a32e83 !htp,htk Upgrade from Deferrable to new FastFuture, closes #15962 2014-09-25 14:56:34 +02:00
Mathias
92299158f1 !htc Replace Deferrable with FastFuture 2014-09-25 14:56:31 +02:00
Johannes Rudolph
dc2737d186 =hco don't reject headers that refer to charsets or methods not available on the current platform 2014-09-25 13:41:26 +02:00
Johannes Rudolph
4ba1ce9149 !hco #15635 reorganize registration of predefined, custom HTTP primitives
- No more global registration
 - In most cases registration isn't necessary at all
 - Creation of custom HttpMethod and StatusCode is possible through
   a configuration setting in ParserSettings

Fixes #15635.
2014-09-25 13:41:26 +02:00
Björn Antonsson
35867800f9 Merge pull request #15949 from akka/wip-15948-fanout-cancel-upstream-bug-ban
=str #15948 Make Broadcast cancel upstream when all downstreams have canceled
2014-09-23 12:51:28 +02:00
Björn Antonsson
dfbe88c252 =str #15948 Make Broadcast cancel upstream when all downstreams have canceled 2014-09-22 15:09:26 +02:00
Björn Antonsson
17c7df6fdd Merge pull request #15941 from spray/w/15915-restructure-HttpEntity-hierarchy
!hco #15915 introduce more shades of HttpEntities
2014-09-22 13:57:08 +02:00
Johannes Rudolph
c77f4e28f6 !hco #15915 introduce more shades of HttpEntities
The introduction of BodyParts again showed that not all entity types are
useful for every kind of context. There are now these contexts where
HttpEntities are used:
 - requests
 - responses
 - body parts

And several kinds of entities:
 - Strict
 - Default
 - Chunked
 - CloseDelimited
 - IndefiniteLength

To increase type safety of the API marker-interfaces are introduced defining
which kinds of entities can be used in which contexts:
 - RequestEntity: Strict, Default, Chunked
 - ResponseEntity: Strict, Default, Chunked, CloseDelimited
 - BodyPartEntity: Strict, Default, IndefiniteLength

Also, to be able still to provide abstractions over some kinds of entities
additional auxiliary interfaces were necessary:
 - MessageEntity = RequestEntity >: ResponseEntity: Strict, Default, Chunked (type alias for RequestEntity)
 - UniversalEntity = RequestEntity with ResponseEntity with BodyPartEntity = Strict, Default
2014-09-22 12:03:33 +02:00
Johannes Rudolph
1e6a844dc1 !hco make Marshaller(s) covariant in result type 2014-09-22 11:55:15 +02:00
Björn Antonsson
2bdfea25c7 Merge pull request #15895 from richdougherty/richd-http-integration-2.3
+hco Make `Content-Length` header public again and add integration tests
2014-09-22 11:16:06 +02:00