* Ported the first pre-fuse part endre did in pr #1972
* Allow the same HttpServerBluePrint to materialize multiple times
HttpRequestParser now behave like a proper GraphStage (with regards to materialization)
HttpResponseParser is kept "weird" to limit scope of commit.
* TestClient method to dump with http client and curl in parallel for comparison
* Cleanup
* tightening down what can be overriden
* tightening down access modifiers
* updates according to review
* Better defaults for the test server
* Ups. Don't listen to public interfaces in test server by default.
* =htp checkSameOrigin shows allowed origins
add HttpOriginRangeDefault into the javadsl and refactor
resolving binary compatibility + add copyright
return back public static final in the HttpOriginRange
* =htp #20535 address bin compat issues in checkSameOrigin PR
* Convert ChunkTransformer to GraphStage
* Updated onUpstreamFinish of ChunkTransformer class
* Convert chunkTransformer to graph stage
* Convert ChunkTransformer to GraphStage
* Convert ChunkTranformer to GraphStage
This commit keeps the stack-heavy, reversal approach as long as there is
enough space on the parser's value stack, switching to a constant-stack
approach that requires a reversal for the rest of the query string when
the value stack starts getting full. This removes the hidden restriction
on query string complexity (which is now only subject to the URL length
restriction) without unduly penalising URLs with simpler query strings.
The new constructor method, rather than simply a new constructor
parameter with a default value, is to maintain binary compatibility.
Given that UrlParser is private[http], I'm not sure if this is really
necessary.
- Remove final modifier from create(system: ActorSystem) within SettingsCompanion
- Implement create(system: ActorSystem) within each of the SettingsCompanion subclass
- Add tests to ensure compilation
* #20466 file upload - first example test done
* #20466 second test from FileUploadDirectivesExample passing in Java
* #20466 FileUploadDirectives examples file rename plus docs
* #20466 post-review changes - adding better JAVA Multipart API
* #20466 Multipart Java conversions fix and added spec for the Java side of the model
* =htc #20789 fix double push of requestPrepOut in HTTP blueprint
* =htc simplify fix, can pull eagerly but under this condition
* =htc make early response a single line
* 20456: add hot connection pool via the minConnections setting
* added the akka.http.host-connection-pool.min-connections setting to reference.conf
* modified config implementation s o it's being read, with 0 as default
* based on the setting two types of pools will be created - hot and cold
* hot ones will start ASAP and not close when the number of active connections fall to 0
* PR remarks: english, remove getIntOpt ...
Moving logic into PoolConductor WIP
* WIP: moving minConnections logic into PoolConductor, needs more precise tests
* added testing via expectNextN in ConnectionPoolSpec.scala; fixed the bug with skipping the actor state in PoolSlot
* fix comments from PR: make sure PoolConductor produces only SwitchSlotCommand
* fix typo: slotSettings -> slots
* Fix style after code review
- inline short snippets
- shorter Mima
- better naming
- make SlotCommands final
Pass in an unresolved InetSocketAddress to ensure that each new
TcpOutgoingConnection will perform DNS resolution.
This prevents a connection pool from always using the same IP address for a host
even if the DNS mapping changes (e.g. in a failover).