-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: VirtualHostMode determines
Host
header of internal requests (#…
…370) By default, internal requests (i.e., requests for marking and flushing the web server log) use `localhost` for the `Host` header value. In scenarios, where tests are run against a virtual host this will cause the internal requests to be processed by the default virtual host while the test requests will be processed by the targeted virtual host. If the web server logs are segregated by virtual host, internal and test requests will end up in different log files and go-ftw will not be able to find the markers it is looking for. With `virtual_host_mode: true`, the value of the `Host` header from the test input will be used for internal requests, to ensure that internal requests will also be processed by the targeted virtual host. Fixes #361
- Loading branch information
Showing
4 changed files
with
104 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters