* #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
* ignore PubSub Status message from unknown node, #20846
Reproducer:
1. old cluster of node1, node2 and node3
2. shutdown node3 and start it again with same host:port, let it
join itself and not the old cluster
3. node1 and node2 will continue to gossip to the node3 address and
Status message is accepted and replied to (Delta is ignored from
unknown node)
Solution:
* ignore status message from unknown node
* also added a reply flag in the Status message to break the
back-and-forth replies in case the deltas are not accepted,
this is not needed for fixing this bug, but it adds an extra
level of safety
This ensures that gracefully leaving nodes (which would terminate after
their own removed event) are already unregistered on all other pubsub
nodes, before termination.
* =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).
the Credentials Object used in the authenticateBasic Directive can be verified against passwords that are stored with a hashing function. By providing the same hashing function as an argument the clear-text password in the HttpCredentials will be hashed the same way prior to comparing against the stored secret.
* akka http javadsl - add debugging directive test
* fixes line breaks
* add additional examples on PathDirectives
* link documentation to test examples
* include example on redirectToNoTrailingSlashIfPresent and redirectToTrailingSlashIfMissing
* include example on redirectToNoTrailingSlashIfPresent and redirectToTrailingSlashIfMissing
* =doc Add clarity for GraphStage image with map transformation
* Clarified that the function is applied in the map graph stage diagrams
* Make application of f more visible
* Add more imports to the stream quick start guides.
This makes it easier for people to execute the code samples while they
read through the guide.
* Change line endings to be consistent with other files
For some reason these 2 files had CR+LF line endings.