Commit graph

576 commits

Author SHA1 Message Date
Johannes Rudolph
d78330ca9a = htc #17943 more robust creation of function literals 2015-07-08 16:13:39 +02:00
2beaucoup
eecf8b5508 =htp #15588 use Source from akka.stream.io 2015-07-02 16:55:44 +02:00
Viktor Klang
2725bfc044 =str - Various internal Akka Stream improvements
* Gives Inlets and Outlets a `carbonCopy` method and switches to allocate them via `apply`
* Removes 4 Array allocations per FanIn and uses a bitmasked array instead
* Makes the FlattenStrategy.concat instance a singleton
2015-06-30 11:45:50 +02:00
drewhk
911943fc92 Merge pull request #17824 from drewhk/wip-17504-http-cancellation-fix-drewhk
Fix Http client cancellation
2015-06-24 16:59:39 +02:00
Endre Sándor Varga
234aaadaa7 Added test for cancellation scenarios in Http client/server 2015-06-24 16:15:01 +02:00
Endre Sándor Varga
df35562c0b Make broadcast cancellation configurable 2015-06-24 14:44:07 +02:00
Johannes Rudolph
83833ae4f8 =htj #16436 add missing Java directives 2015-06-24 12:03:02 +02:00
Endre Sándor Varga
c7a974dd1e Rename RunnableFlow to RunnableGraph 2015-06-23 18:49:53 +02:00
Endre Sándor Varga
7879a5521b Rename FlowMaterializer to Materializer 2015-06-23 18:47:28 +02:00
Endre Sándor Varga
dc7269e620 Rename OperationAttributes to Attributes 2015-06-23 18:45:04 +02:00
drewhk
4f02192a04 Merge pull request #17808 from drewhk/wip-17786-addendum-fix-shutdown-drewhk
fix actorsystem shutdown in tests
2015-06-23 13:35:19 +02:00
Endre Sándor Varga
5192ea7334 make racy test accept 500 or exception 2015-06-23 13:00:26 +02:00
drewhk
b0fbd90008 Merge pull request #17771 from spray/w/17664-add-multipart-to-entity-shortcuts
Simplify creating multipart/formdata requests with just akka-http-core
2015-06-23 12:41:38 +02:00
Endre Sándor Varga
d50b1b0de3 fix actorsystem shutdown in tests 2015-06-23 12:08:31 +02:00
Endre Sándor Varga
21d45ea1b8 - Fix accidentally passing ClientServerSpec tests
- Making materializer more robust against exceptions
2015-06-23 11:10:21 +02:00
Johannes Rudolph
c7bb5006f8 +doc add server-side WebSocket documentation 2015-06-22 20:56:36 +02:00
Johannes Rudolph
da5ff4c560 !htc remove Streamed subclasses to signify that streamed is the default and add convenience Message constructors 2015-06-22 20:56:31 +02:00
drewhk
62865ff927 Merge pull request #17791 from spray/wip-docs2-mathias
More scala-side HTTP docs
2015-06-22 14:09:46 +02:00
drewhk
823926e739 Merge pull request #17774 from spray/wip-17600-mathias
=docs #17600 fix incorrect http client example
2015-06-22 13:54:39 +02:00
Roland Kuhn
f1121d6832 Merge pull request #17745 from akka/wip-VirtualProcessor-∂π
=str add VirtualProcessor
2015-06-22 11:10:01 +02:00
Roland Kuhn
65157bcd73 Merge pull request #17677 from briantopping/release-2.3-dev
=htp - Update cookie parsing rules based on twitter.com interop
2015-06-20 10:31:44 +02:00
Brian Topping
294e0a0903 Fix for #17677, #17714, parsed to https://tools.ietf.org/html/rfc6265#section-5.1.1. 2015-06-19 17:53:31 -07:00
drewhk
3533d1d4a6 Merge pull request #17787 from drewhk/wip-16899-tcp-closing-modes-drewhk
+str #16889: Configurable TCP close modes
2015-06-19 20:04:28 +02:00
Mathias
e26dc7f001 =doc add client- and server-side HTTPS section for scala 2015-06-19 16:39:12 +02:00
Endre Sándor Varga
1c6b49b1aa +str #16889: Configurable TCP close modes 2015-06-19 16:27:03 +02:00
Roland Kuhn
d462cdd1b4 =str fix sub-upstream cancellation in concatAll
- ActorProcessor terminated eagerly when ConcatAll had just taken up a
  new input stream but not yet received onSubscribe for it

- The ActorProcessor eagerly shuts itself down upon onError and that
  cannot be changed without completely reworking the Pump, so I opted
  for just tracking the outstanding substreamSubscribers that have not
  yet seen OnSubscribe and making them cancel properly when that arrives
  (possibly later).
2015-06-19 16:26:48 +02:00
Mathias
d524791ae2 =htc small improvement in test (as per review from @jrudolph) 2015-06-19 14:39:04 +02:00
drewhk
e70b8c3e48 Merge pull request #17767 from spray/w/various-small-improvements
Various small improvements
2015-06-19 14:28:48 +02:00
Mathias
f08e8360bc !htc #17656 do not render host header default port values 2015-06-18 16:31:37 +02:00
Johannes Rudolph
efa24c7d26 =htc #17664 create convenience shortcuts in FormData and FormData.BodyPart to simplify client-side file uploads 2015-06-18 15:14:39 +02:00
Johannes Rudolph
e9674d3ff0 =htc #17664 create Multipart.toEntity to simplify creation of multipart/formdata requests
This moves some functionality from marshallers in akka-http
directly to akka-http-core.
2015-06-18 15:14:39 +02:00
Johannes Rudolph
9091820499 +htc add missing constructor for javadsl.model.headers.RawHeader 2015-06-18 11:35:47 +02:00
Mathias
19ebea0c7f =htc #17187 fix illegal request entities not producing the right error response 2015-06-17 14:36:39 +02:00
drewhk
028bfa4e97 Merge pull request #17654 from spray/w/17051-fix-multipart-truncation
BodyPartParser fixes
2015-06-17 12:53:25 +02:00
Johannes Rudolph
31742b15ef +htc some convenience methods for javadsl.model.HttpCookie 2015-06-17 11:06:55 +02:00
Mathias
11328b28f9 =htc #17709 fix incorrect default port in Http.cachedHostConnectionPoolTls 2015-06-16 16:03:21 +02:00
Mathias
c2588b7db5 =htp #17051 fix multipart unmarshaller not surfacing header parsing errors on outer (part) stream 2015-06-16 15:47:49 +02:00
Johannes Rudolph
eb8d834246 =htp #17051 fix BodyPartParser failing to detect initial boundary if it is chunked 2015-06-16 14:46:34 +02:00
drewhk
52f08f035a Merge pull request #17728 from spray/w/17551-fix-new-ActorInterpreter-leak
=htc #17551 fix leak because of never subscribed Websocket handler if connection is closed by peer
2015-06-15 17:40:45 +02:00
drewhk
171453b1e0 Merge pull request #17723 from drewhk/wip-17702-keep-none-drewhk
+str #17702: Add Keep.none
2015-06-15 17:32:00 +02:00
Johannes Rudolph
3bc095b460 =htc #17551 fix leak because of never subscribed Websocket handler if connection is closed by peer 2015-06-15 17:06:22 +02:00
Endre Sándor Varga
f3bcf89c52 +str #17702: Add Keep.none 2015-06-15 16:34:21 +02:00
Mathias
6024b9ff65 =htc #17403 fix connection pool reusing existing connections too early 2015-06-15 15:52:15 +02:00
drewhk
632868b868 Merge pull request #17660 from spray/w/another-batch-of-smallish-fixes
Fixes #16839 and #17067
2015-06-12 16:04:30 +02:00
drewhk
f777e7f681 Merge pull request #17658 from spray/w/17404-fix-ipv6-host-header
Fix #17404 and #17657
2015-06-12 16:02:06 +02:00
drewhk
bcc5003e47 Merge pull request #17659 from spray/w/16810-fix-flushing
+htp #16810 use flushing deflate call on Java > 6
2015-06-12 15:42:21 +02:00
Johannes Rudolph
a20f889ecb +htc #17680 add HttpEntity.contentLengthOption 2015-06-12 10:50:19 +02:00
drewhk
446a616064 Merge pull request #17684 from spray/w/17683-fix-message-parser
=htc #17683 drop already consumed input in `continue` (+ ByteString compaction)
2015-06-12 10:46:55 +02:00
Johannes Rudolph
a4c3020559 =htc #17663 implement HttpEntity.apply(File) 2015-06-09 11:30:53 +02:00
Johannes Rudolph
751190f084 =htc compact outgoing ByteStrings in parsers to avoid referencing more memory than necessary
This was discussed previously in the context of spray where we came to the
conclusion that it makes sense to deliver compact ByteStrings on API
boundaries to avoid to carry around unused parts of ByteStrings.
2015-06-08 15:04:19 +02:00