Commit graph

705 commits

Author SHA1 Message Date
Mathias
e53867b1d8 =htc small internal member naming improvement 2015-03-05 11:36:29 +01:00
Mathias
abea2c88ef =htc #16934 s/ActorFlowMaterializer/FlowMaterializer where possible, smaller cleanups 2015-03-02 13:52:09 +01:00
Mathias
ef34319987 =htc,htp Small fix in scaladoc, add FIXME reminder 2015-03-02 13:52:06 +01:00
Roland Kuhn
23942c92d4 Merge pull request #16892 from spray/wip-16822-mathias
+hco #16822 add model for `Referer` header
2015-02-26 17:27:25 +01:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Mathias
fed7cc75f4 =htc Rework tests sensitive to defined header model (class names and count), introduce HttpHeaderParserTestBed 2015-02-24 15:45:39 +01:00
Mathias
d6bc3ec4c5 +hco #16822 add model for Referer header 2015-02-20 15:08:25 +01:00
2beaucoup
ada5922440 !htp #16593 negotiate content encoding 2015-02-18 09:28:15 +01:00
Johannes Rudolph
691a520c16 =hco #16865 response parser needs to continue with startNewMessage if method is still missing 2015-02-12 16:29:19 +01:00
Endre Sándor Varga
972636f500 !str #16425: Fix bind failure tests, unbind should not fail on bind error 2015-02-06 10:18:18 +01:00
Patrik Nordwall
2740d67c61 !str #16565 Make Flexi* limitations explicit
* remove isDemandAvailable
* hide emit from CompletionHandler context
* throw if more than one emit in response to an input
* had to remove the OrderedMerge test/sample because emitting
  from CompletionHandler is currently not supported
* FlexiRoute and FlexiMerge might become more capable later, see issue 16753
2015-02-03 13:42:48 +01:00
Patrik Nordwall
580ba8c484 Merge pull request #16730 from akka/wip-15851-ActorBasedFlowMaterializer-patriknw
!str #15851 Rename FlowMaterializer and settings
2015-01-29 10:30:08 +01:00
Patrik Nordwall
de5bff0444 Merge pull request #16727 from akka/wip-16577-FlexiMerge-exceptions-patriknw
!str #6577 Align API of Flexi with Stage
2015-01-29 10:26:53 +01:00
Patrik Nordwall
8505e4935a !str #6577 Align API of Flexi with Stage
* error -> fail
* complete -> finish
* onComplete - onUpstreamFinish
* onError - onUpstreamFailure
* onCancel - onDownstreamFinish
2015-01-29 10:25:52 +01:00
Patrik Nordwall
cd9d503b03 !str #15851 Rename FlowMaterializer and settings
* FlowMaterializer is now the actor independent interface
* ActorFlowMaterializer is the actor based interface
* MaterializerSettings renamed to ActorFlowMaterializerSettings
* impl.ActorBasedFlowMaterializer renamed to impl.ActorFlowMaterializerImpl
* Optimizations included in ActorFlowMaterializerSettings
* Note that http is using FlowMaterializer in api, but I suspect that it
  will currently only run with a ActorFlowMaterializer
2015-01-27 19:22:22 +01:00
Konrad Malawski
39038597b2 !str #16563 terminal operations start with run*; runFold runForeach 2015-01-26 15:39:36 +01:00
Konrad Malawski
3d2bf3d04a Merge pull request #16607 from gregbeech/wip-16030-age-expires-headers
+htc #16030 Age and Expires headers
2015-01-15 17:44:50 +01:00
Konrad Malawski
9caf4b88d1 =htc #16566 fix company name typo in copyright comment 2015-01-14 18:09:34 +01:00
Greg Beech
fb968eb4be +htc #16030 Age and Expires headers
* Added models/parsers for Age and Expires headers
* Updated tests using RawHeader to use typed headers
2014-12-29 21:42:34 +00:00
Johannes Rudolph
fd8e0225eb +htp #16516 allow setting maximum ByteString chunk size for decoding operations 2014-12-22 10:16:58 +01:00
Johannes Rudolph
29d7a041f6 +htp #16516 rewrite Deflate/GzipDecompressor as StatefulStage to defuse zip bomb
Also, the tests have been DRY'd up.
2014-12-22 10:08:03 +01:00
Johannes Rudolph
bfad068a70 +hco another variant of StreamUtils.runStrict that takes an Iterator of inputs 2014-12-22 10:08:03 +01:00
André Rüdiger
49e6c0c066 tidy up once more 2014-12-21 01:11:45 +01:00
2beaucoup
ec7156698a !htc #16494 provide content negotiation fallback to exception handlers 2014-12-20 18:12:28 +01:00
Jisoo Park
e785c374b3 +htp #16543 add directives to add or remove trailing slash 2014-12-20 17:38:28 +01:00
Roland Kuhn
9f1d074d27 Merge pull request #16519 from 2beaucoup/custom-date-header
=htc #16501 render custom Date header
2014-12-20 16:57:45 +01:00
Roland Kuhn
fe1c2de6b2 Merge pull request #16514 from spray/w/16500-fix-date-parsing
=htc #16500 parse Sunday dates and dates with long weekday names correctly
2014-12-20 16:21:30 +01:00
Roland Kuhn
3eb8580eda !htp add some FIXMEs and small fixes 2014-12-20 14:31:58 +01:00
Mathias
03362052dd =htc add one more test checking against #16574 2014-12-19 16:52:53 +01:00
Mathias
35d1855e08 =htc make server accept early incoming request stream close
This is the fix for #16510 on the server-side.
2014-12-19 15:24:18 +01:00
Mathias
166be32ce6 =htc #16574 fix large requests not being consumable on the server-side 2014-12-19 14:56:51 +01:00
Mathias
0f0ce513ff =htc small improvement in BodyPartParser 2014-12-19 14:42:37 +01:00
Mathias
968e9cc5a7 =htc refactor HttpClient stream setup, closes #16510 2014-12-18 17:14:55 +01:00
Mathias
4d907bfb50 =htc small refactoring in OneHundredContinue support 2014-12-18 17:12:17 +01:00
Mathias
44a684c390 !htc clean up and unify HTTP exception model 2014-12-18 17:12:17 +01:00
Mathias
25dd541f29 =htc small improvements in DateTime 2014-12-18 17:12:17 +01:00
Mathias
12f05b0333 =htp mark Http.ServerBinding sealed 2014-12-18 17:12:17 +01:00
Patrik Nordwall
ef2835d60e Merge pull request #16550 from akka/wip-16400-javadsl-stream-io-patriknw
!str #16400 Add Java API for StreamTcp
2014-12-18 13:19:20 +01:00
Patrik Nordwall
7034c60eb3 !str #16400 Add Java API for StreamTcp
* move io.StreamTcp to scaladsl.StreamTcp
* add javadsl.StreamTcp that delegates to scaladsl implementation
* move impl
* add java test
2014-12-18 12:40:41 +01:00
Patrik Nordwall
e85ba73af0 !str #16484 #16392 Remove String identifier of junctions
* descriptive name can still be defined with OperationAttributes.name
* revisit all factory methods (apply/create) and implement and document
  them in a consistent manner
2014-12-18 12:25:59 +01:00
Patrik Nordwall
5892d49bed Merge pull request #16559 from akka/wip-16557-Source.single-patriknw
!str #16557 Rename Source.singleton to Source.single
2014-12-17 13:05:39 +01:00
Patrik Nordwall
5bf2ab43bd !str #16557 Rename Source.singleton to Source.single 2014-12-16 17:02:27 +01:00
Roland Kuhn
b42124cbe4 Merge pull request #16489 from spray/w/16488-fix-http-tests
=htc #16488 add missing assertions in tests
2014-12-16 15:55:53 +01:00
Johannes Rudolph
75f262d047 =htc #16488 add missing assertions in tests
- replaced pure `===` by `shouldEqual`
 - fixed the backport of spray/spray#927 in ae8c47acc170907ee9c8dfbcb946b400035f6877
 - fixed HttpHeaderParserSpec
2014-12-16 10:39:10 +01:00
Konrad Malawski
73e2891502 Merge pull request #16485 from 2beaucoup/header-order-fix
=htc #16482 preserve header order during parse
2014-12-11 15:01:25 +01:00
2beaucoup
57aeb4aa54 =htc small cleanup 2014-12-11 14:43:08 +01:00
Johannes Rudolph
88a79556cb =htc #16500 parse Sunday dates and dates with long weekday names correctly
Also, make sure not to parse well-known parameters into the extension block.

Thanks, @richdougherty for the first version of this patch and the additional
test cases.
2014-12-11 08:43:41 +01:00
André Rüdiger
1eee973fc2 =htc #16501 render custom Date header 2014-12-11 00:41:00 +01:00
2beaucoup
f0c83631e1 =htc #16482 preserve header order during parse 2014-12-09 11:09:26 +01:00
2beaucoup
0b3120d690 !htc replace Parameter interface with ju.Map.Entry in japi.Uri 2014-12-08 14:39:28 +01:00