-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scenario docs
- Loading branch information
Showing
7 changed files
with
1,131 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[Home](../index.md) | ||
|
||
--- | ||
|
||
# HTTP generator | ||
|
||
Full http (http2) generator config | ||
|
||
```yaml | ||
gun: | ||
type: http | ||
target: '[hostname]:443' | ||
ssl: true | ||
connect-ssl: false # If true, Pandora accepts any certificate presented by the server and any host name in that certificate. Default: false | ||
tls-handshake-timeout: 1s # Maximum waiting time for a TLS handshake. Default: 1s | ||
disable-keep-alives: false # If true, disables HTTP keep-alives. Default: false | ||
disable-compression: true # If true, prevents the Transport from requesting compression with an "Accept-Encoding: gzip" request header. Default: true | ||
max-idle-conns: 0 # Maximum number of idle (keep-alive) connections across all hosts. Zero means no limit. Default: 0 | ||
max-idle-conns-per-host: 2 # Controls the maximum idle (keep-alive) connections to keep per-host. Default: 2 | ||
idle-conn-timeout: 90s # Maximum amount of time an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit. Default: 90s | ||
response-header-timeout: 0 # Amount of time to wait for a server's response headers after fully writing the request (including its body, if any). Zero means no timeout. Default: 0 | ||
expect-continue-timeout: 1s # Amount of time to wait for a server's first response headers after fully writing the request headers if the request has an "Expect: 100-continue" header. Zero means no timeout. Default: 1s | ||
dial: | ||
timeout: 1s # TCP connect timeout. Default: 3s | ||
dns-cache: true # Enable DNS cache, remember remote address on first try, and use it in the future. Default: true | ||
dual-stack: true # IPv4 is tried soon if IPv6 appears to be misconfigured and hanging. Default: true | ||
fallback-delay: 300ms # The amount of time to wait for IPv6 to succeed before falling back to IPv4. Default 300ms | ||
keep-alive: 120s # Interval between keep-alive probes for an active network connection Default: 120s | ||
answlog: | ||
enabled: true | ||
path: ./answ.log | ||
filter: all # all - all http codes, warning - log 4xx and 5xx, error - log only 5xx. Default: error | ||
auto-tag: | ||
enabled: true | ||
uri-elements: 2 # URI elements used to autotagging. Default: 2 | ||
no-tag-only: true # When true, autotagged only ammo that has no tag before. Default: true | ||
httptrace: | ||
dump: true # calculate responce bytes | ||
trace: true # calculate different request stages: connect time, send time, latency, request bytes | ||
``` | ||
--- | ||
[Home](../index.md) |
Oops, something went wrong.