Commit graph

705 commits

Author SHA1 Message Date
drewhk
d1f83ab47b Merge pull request #17529 from spray/w/17494-fix-ws-interpreter-leak
=htc #17494 fix interpreter leak due to unsubscribed websocket handler hole
2015-05-20 11:35:54 +02:00
drewhk
b31393e787 Merge pull request #17367 from spray/w/17348-ignore-extra-LastChunk
=htc #17348 don't render extra LastChunk at the and of Chunked entity
2015-05-20 10:56:28 +02:00
Mathias
b5beb30c5d =htc Fix typo in error message and small improvement in reference.conf docs 2015-05-20 10:21:12 +02:00
Johannes Rudolph
600e20fa3f =htc #17494 fix interpreter leak due to unsubscribed websocket handler hole
The solution is to install a dummy handler when the connection is closed
while still being in http mode.
2015-05-20 09:37:07 +02:00
drewhk
6d08cd48c6 Merge pull request #17471 from spray/wip-https-mathias
!htc HTTPS-enable server- and client-side APIs
2015-05-18 12:21:21 +02:00
Philip L. McMahon
2a27e45bbd =htc s/timely request/timely response/ 2015-05-13 22:53:06 -07:00
Mathias
5a65cf6bb8 !htc HTTPS-enable server- and client-side APIs 2015-05-13 14:47:12 +02:00
drewhk
ba3a69369f Merge pull request #17370 from gmethvin/http-date-header
Fix caching of HTTP Date header
2015-05-12 10:45:42 +02:00
Greg Methvin
5c2328cad1 Fix caching of HTTP Date header 2015-05-10 03:22:54 -07:00
Johannes Rudolph
2bb7e029ef =htc #17348 don't render extra LastChunk at the and of Chunked entity 2015-05-05 14:01:07 +02:00
Endre Sándor Varga
7ad4fdc3ce !str #17123: Make materialized value handling method names consistent 2015-05-05 12:42:41 +02:00
Roland Kuhn
035037dd24 Utf8Decoder license clarified
The license allows us to do everything that we need to do, provided that we keep it “with the Software”, which we understand to mean that this comment accompanying the affected code is sufficient. We have done this so far in all other cases as well.
2015-04-30 13:54:31 +02:00
Konrad Malawski
e159e704e3 Merge pull request #17335 from spray/w/17322-fix-websocket-establishment-race
#17322 Fix race condition during websocket connection establishment
2015-04-30 13:07:59 +02:00
Johannes Rudolph
c283dd45ae =htc #17322 fix race condition between websocket http response and first websocket message
The fix was to make the switch atomic instead of relying on side-channels
which introduced an ordering dependency in the protocol merge.

Also, the switch token itself is now fed back from the response renderer
output to the protocol switch leading to a simplified design.
2015-04-29 13:03:57 +02:00
Johannes Rudolph
444a0deef5 =htc #16055 refactoring: make headAndTail a simple flow 2015-04-29 12:37:09 +02:00
Roland Kuhn
55e1d71eea !str #17327 use curried methods for mapAsync 2015-04-28 17:40:45 +02:00
Johannes Rudolph
0f15cb6d78 =htc extract HttpServerTestSetupBase from HttpServerSpec 2015-04-28 14:54:25 +02:00
Johannes Rudolph
df48e82e45 +htc client-side of http-core Java API 2015-04-24 18:53:05 +02:00
Johannes Rudolph
d25b3af252 !htc move ServerSettings and ParserSettings up a package to make them accessible both from the java and scala side
This follow the example from akka.stream.
2015-04-24 18:53:05 +02:00
Mathias
10c8cf230e !ht* #17279 scala side: refactor package structure to new layout 2015-04-24 18:44:25 +02:00
Mathias
29063bce86 !htc #17279 refactor package structure to new layout 2015-04-24 18:44:24 +02:00
drewhk
a892ce1f0f Merge pull request #17300 from spray/w/add-websocket-java-api
+htc #16887 the Java side of the Websocket server-side API
2015-04-24 15:31:39 +02:00
Johannes Rudolph
3588a98a4b +htc #16887 the Java side of the Websocket server-side API 2015-04-24 14:40:27 +02:00
Patrik Nordwall
1595a8a911 !str #17031 Rename StreamTcp to Tcp 2015-04-24 14:13:54 +02:00
Patrik Nordwall
07f299a1e0 !str #17031 Use host and port instead of InetSocketAddress
* as convenience in bind and outgoingConnection
2015-04-24 14:12:43 +02:00
Roland Kuhn
874bb12128 Merge pull request #17285 from akka/wip-17277-akka.japi.function-∂π
!str #17277 remove akka.stream.javadsl.japi.WithVariance
2015-04-24 11:50:10 +02:00
Roland Kuhn
995e659310 Merge pull request #17287 from spray/w/17129-provide-error
Improve error message if serverLayer is reused.
2015-04-24 11:44:11 +02:00
Martynas Mickevičius
8e2cc3e70f =str #17089 stream testkit 2015-04-24 12:25:54 +03:00
Roland Kuhn
354a8e3a41 !str #17277 remove akka.stream.javadsl.japi.WithVariance
sadly we forgot to also move the boilerplate-generated FunctionN and
ProcedureN into akka-actor, so they are still in
akka.stream.javadsl.japi.
2015-04-24 11:05:11 +02:00
Johannes Rudolph
70a147a581 =htc #16887 properly report truncated WS messages to user handler 2015-04-24 10:55:24 +02:00
Johannes Rudolph
5e459688d5 =htc #17129 improve error message that serverLayer cannot be reused 2015-04-24 10:53:54 +02:00
Johannes Rudolph
48b50b6a84 =htc #16887 remove duplication in TestServer 2015-04-24 10:53:54 +02:00
Johannes Rudolph
50f488f563 +htc resurrect low-level server-side Java API and JavaTestServer
Modelled after javadsl.StreamTcp.
2015-04-24 10:52:54 +02:00
Roland Kuhn
0ac7900e9e Merge pull request #17282 from spray/w/17278-change-to-javadsl-in-java-model
!htc #17278 replace remaining usages of scaladsl.Source in akka.http.model.japi
2015-04-24 10:20:14 +02:00
Mathias
6ce8e0f29d =htc #16507 log materialization errors in bindAndHandle 2015-04-23 22:40:01 +02:00
Johannes Rudolph
d9adc3c711 =htc #16887 speed up some websocket tests 2015-04-23 17:20:31 +02:00
Johannes Rudolph
b86ce44961 !htc #17278 replace remaining usages of scaladsl.Source in akka.http.model.japi 2015-04-23 17:15:05 +02:00
Mathias
21baac0c52 !htc #15681, #15906, #16852, #17064 add client-side connection pooling with retries
Also: simplify API style for settings passing
2015-04-23 15:31:52 +02:00
Mathias
4d3b0e4edc +htc, htp: small improvement to HttpMessage::withDefaultHeaders 2015-04-23 15:31:51 +02:00
Mathias
475c073997 =htc smaller improvements to util helpers 2015-04-23 15:31:48 +02:00
Mathias
53de0f3b74 +htc #17064 add Uri::toHttpRequestTargetOriginForm and double-slash path tests
Forward port of https://github.com/spray/spray/pull/1026.
2015-04-23 15:12:53 +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
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
d67b5823e6 =htc #17129 Preliminary fix until this is fixed with the new features from #16168 2015-04-22 11:08:09 +02:00
Johannes Rudolph
7b72fca3c2 +htc introduce big endian read methods to ByteReader 2015-04-21 15:23:37 +02:00