|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Configuration entries for analyzer threads. More...
#include <Config.hpp>
Network Configuration | |
| std::uint16_t | connectionsMax {defaultConnectionsMax} |
| The maximum number of parallel connections. More... | |
| bool | contentLengthIgnore {false} |
Specifies whether the Content-Length header in HTTP responses will be ignored. More... | |
| bool | cookies {false} |
| Specifies whether the internal cookie engine will be enabled. More... | |
| std::string | cookiesLoad |
| The file from which cookies will be read. More... | |
| std::vector< std::string > | cookiesOverwrite |
| Cookies to be overwritten. More... | |
| std::string | cookiesSave |
| The file to which cookies will be saved. More... | |
| bool | cookiesSession {true} |
| Specifies whether to ignore obsolete session cookies. More... | |
| std::string | cookiesSet |
Custom HTTP Cookie header independent from the internal cookie engine. More... | |
| std::int64_t | dnsCacheTimeOut {defaultDnsCacheTimeOut} |
| The lifetime of DNS cache entries. More... | |
| std::string | dnsDoH |
| The URL of a custom DNS-over-HTTPS (DoH) server. More... | |
| std::string | dnsInterface |
| The interface that DNS name resolves should be bound to. More... | |
| std::vector< std::string > | dnsResolves |
| DNS name resolves to be overwritten. More... | |
| std::vector< std::string > | dnsServers |
| DNS servers to be preffered. More... | |
| bool | dnsShuffle {false} |
| Specifies whether to shuffle addresses when a host name returns more than one. More... | |
| bool | encodingBr {true} |
Specifies whether to request brotli encoding for requested content. More... | |
| bool | encodingDeflate {true} |
Specifies whether to request DEFLATE encoding for requested content. More... | |
| bool | encodingGZip {true} |
Specifies whether to request gzip encoding for requested content. More... | |
| bool | encodingIdentity {true} |
| Specifies whether to (also) request non-compressed encoding for requested content. More... | |
| bool | encodingTransfer {false} |
| Specifies whether to request HTTP Transfer Encoding. More... | |
| bool | encodingZstd {false} |
Specifies whether to request Zstandard encoding for requested content. More... | |
| std::vector< std::string > | headers |
| Custom HTTP headers to be sent with every request. More... | |
| std::vector< std::string > | http200Aliases |
Aliases that will be treated like HTTP/1.0 200 OK. More... | |
| std::uint16_t | httpVersion {httpVersion2Tls} |
| HTTP version(s) to be used. More... | |
| std::string | localInterface |
| Interface to be used for outgoing traffic. More... | |
| std::uint16_t | localPort {} |
| Port to be used for outgoing traffic. More... | |
| std::uint16_t | localPortRange {1} |
| Number of ports to be tried for outgoing traffic. More... | |
| bool | noReUse {false} |
| Specifies whether to prevent connections from re-using previous ones. More... | |
| std::string | proxy |
| Proxy server used. More... | |
| std::string | proxyAuth |
| Authentification for the proxy server used. More... | |
| std::vector< std::string > | proxyHeaders |
| Custom HTTP headers to be sent to the proxy server. More... | |
| std::string | proxyPre |
| Pre-proxy server to be used. More... | |
| std::string | proxyTlsSrpPassword |
| TSL-SRP password for the proxy server used. More... | |
| std::string | proxyTlsSrpUser |
| TSL-SRP user for the proxy server used. More... | |
| bool | proxyTunnelling {false} |
| Specifies whether to enable proxy tunnelling. More... | |
| bool | redirect {true} |
Specifies whether to follow HTTP Location headers for automatic redirects. More... | |
| std::uint64_t | redirectMax {defaultRedirectMax} |
| The maximum number of automatic redirects. More... | |
| bool | redirectPost301 {false} |
| Specifies whether to NOT convert POST to GET requests when following 301 redirects. More... | |
| bool | redirectPost302 {false} |
| Specifies whether to NOT convert POST to GET requests when following 302 redirects. More... | |
| bool | redirectPost303 {false} |
| Specifies whether to NOT convert POST to GET requests when following 303 redirects. More... | |
| std::string | referer |
The HTTP Referer header to be set. More... | |
| bool | refererAutomatic {false} |
Specifies whether to send an updated HTTP Referer header when automatically redirected. More... | |
| bool | resetTor {true} |
| Specifies whether to use the TOR control server to request a new identity on connection resets. More... | |
| std::uint64_t | resetTorAfter {} |
| Number of seconds until automatically using the TOR control server to request a new identity. More... | |
| std::uint64_t | resetTorOnlyAfter {defaultResetTorOnlyAfter} |
| Number of seconds that need to be parsed before new identity will be requested from the TOR control server. More... | |
| std::uint64_t | speedDownLimit {} |
| Maximum download speed in bytes per second. More... | |
| std::uint64_t | speedLowLimit {} |
| Low speed limit in bytes per second. More... | |
| std::uint64_t | speedLowTime {} |
| Number of seconds before a timeout occurs while the transfer speed is below the low speed limit. More... | |
| std::uint64_t | speedUpLimit {} |
| Maximum upload speed in bytes per second. More... | |
| bool | sslVerifyHost {true} |
| Specifies whether to verify that the SSL certificate is for the server it is known as. More... | |
| bool | sslVerifyPeer {true} |
| Specifies whether to verify the authenticity of the server's SSL certificate. More... | |
| bool | sslVerifyProxyHost {true} |
| Specifies whether to verify that the SSL certificate is for the proxy server it is known as. More... | |
| bool | sslVerifyProxyPeer {true} |
| Specifies whether to verify the authenticity of the proxy's SSL certificate. More... | |
| bool | sslVerifyStatus {false} |
| Specifies whether to verify the status of the server's SSL certificate. More... | |
| bool | tcpFastOpen {false} |
| Specifies whether TCP Fast Open will be enabled. More... | |
| bool | tcpKeepAlive {false} |
| Specifies whether TCP keep-alive probing will be enabled. More... | |
| std::uint64_t | tcpKeepAliveIdle {defaultTcpKeepAliveIdle} |
| The delay that will be waited before sending keep-alive probes, in seconds. More... | |
| std::uint64_t | tcpKeepAliveInterval {defaultTcpKeepAliveInterval} |
| The interval time between keep-alive probes to sent, in seconds. More... | |
| bool | tcpNagle {false} |
| Specifies whether the TCP's Nagle algorithm is enabled on this connection. More... | |
| std::uint64_t | timeOut {defaultTimeOut} |
| The maximum amount of time a connection is allowed to take, in seconds. More... | |
| std::uint16_t | timeOutHappyEyeballs {} |
| Number of milliseconds to try to connect only via IPv6 using the Happy Eyeballs algorithm. More... | |
| std::uint64_t | timeOutRequest {defaultTimeOutRequest} |
| The maximum amount of time a request is allowed to take, in seconds. More... | |
| std::string | tlsSrpUser |
| Password used for TLS-SRP authentification. More... | |
| std::string | tlsSrpPassword |
| User name used for TLS-SRP authentification. More... | |
| std::string | userAgent |
Custom HTTP User-Agent header to be sent with all HTTP requests. More... | |
| bool | verbose {false} |
Specifies whether libtidy should produce verbose output. More... | |
| std::string | protocol {defaultProtocol} |
| The protocol to be used for HTTP requests. More... | |
Configuration entries for analyzer threads.
json/analyzer.json in crawlserv_frontend! | std::uint16_t crawlservpp::Network::Config::Entries::connectionsMax {defaultConnectionsMax} |
The maximum number of parallel connections.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::contentLengthIgnore {false} |
Specifies whether the Content-Length header in HTTP responses will be ignored.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::cookies {false} |
Specifies whether the internal cookie engine will be enabled.
The internal cookie engine temporarily stores and re-sends received cookies. They will be reset as soon as the connection is reset.
Use Network::Config::cookiesLoad and Network::Config::cookiesSave for a more permanent solution.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::cookiesLoad |
The file from which cookies will be read.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::vector<std::string> crawlservpp::Network::Config::Entries::cookiesOverwrite |
Cookies to be overwritten.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigCurrent().
| std::string crawlservpp::Network::Config::Entries::cookiesSave |
The file to which cookies will be saved.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::cookiesSession {true} |
Specifies whether to ignore obsolete session cookies.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::cookiesSet |
Custom HTTP Cookie header independent from the internal cookie engine.
Will be ignored when empty.
Will be overwritten, if a cookie is set during dynamic redirect.
Used by the crawler only.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::int64_t crawlservpp::Network::Config::Entries::dnsCacheTimeOut {defaultDnsCacheTimeOut} |
The lifetime of DNS cache entries.
Set to -1 for a infinite lifetime.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::dnsDoH |
The URL of a custom DNS-over-HTTPS (DoH) server.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::dnsInterface |
The interface that DNS name resolves should be bound to.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::vector<std::string> crawlservpp::Network::Config::Entries::dnsResolves |
DNS name resolves to be overwritten.
Each resolve should be in the format HOST:PORT:ADDRESS[,ADDRESS]..., where HOST is the name libcurl will try to resolve, PORT is the port number of the service where @ libcurl wants to connect to the HOST and ADDRESS is one or more numerical IP addresses. Multiple IP addresses need to be separated by comma.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::vector<std::string> crawlservpp::Network::Config::Entries::dnsServers |
DNS servers to be preffered.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::dnsShuffle {false} |
Specifies whether to shuffle addresses when a host name returns more than one.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::encodingBr {true} |
Specifies whether to request brotli encoding for requested content.
If no encoding for the requested content will be specified, no Accept-Encoding header will be sent and no decompression of received content will be performed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::encodingDeflate {true} |
Specifies whether to request DEFLATE encoding for requested content.
If no encoding for the requested content will be specified, no Accept-Encoding header will be sent and no decompression of received content will be performed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::encodingGZip {true} |
Specifies whether to request gzip encoding for requested content.
If no encoding for the requested content will be specified, no Accept-Encoding header will be sent and no decompression of received content will be performed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::encodingIdentity {true} |
Specifies whether to (also) request non-compressed encoding for requested content.
If no encoding for the requested content will be specified, no Accept-Encoding header will be sent and no decompression of received content will be performed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::encodingTransfer {false} |
Specifies whether to request HTTP Transfer Encoding.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::encodingZstd {false} |
Specifies whether to request Zstandard encoding for requested content.
If no encoding for the requested content will be specified, no Accept-Encoding header will be sent and no decompression of received content will be performed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::vector<std::string> crawlservpp::Network::Config::Entries::headers |
Custom HTTP headers to be sent with every request.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::vector<std::string> crawlservpp::Network::Config::Entries::http200Aliases |
Aliases that will be treated like HTTP/1.0 200 OK.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint16_t crawlservpp::Network::Config::Entries::httpVersion {httpVersion2Tls} |
HTTP version(s) to be used.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::localInterface |
Interface to be used for outgoing traffic.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint16_t crawlservpp::Network::Config::Entries::localPort {} |
Port to be used for outgoing traffic.
Set to zero if any port is fine.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint16_t crawlservpp::Network::Config::Entries::localPortRange {1} |
Number of ports to be tried for outgoing traffic.
If greater than one, a range of ports starting with localPort will be tried for outgoing traffic.
Set to one or below to not try any additional ports.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::noReUse {false} |
Specifies whether to prevent connections from re-using previous ones.
This might lead to a large number of re-connects, which might in turn negatively affect performance.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::protocol {defaultProtocol} |
The protocol to be used for HTTP requests.
Including :// at the end of the protocol, e.g. https:// or http://.
Referenced by crawlservpp::Network::Config::getProtocol(), crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::proxy |
Proxy server used.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::proxyAuth |
Authentification for the proxy server used.
The authentification needs to be in the format user:password.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::vector<std::string> crawlservpp::Network::Config::Entries::proxyHeaders |
Custom HTTP headers to be sent to the proxy server.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::proxyPre |
Pre-proxy server to be used.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::proxyTlsSrpPassword |
TSL-SRP password for the proxy server used.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::proxyTlsSrpUser |
TSL-SRP user for the proxy server used.
Will be ignored when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::proxyTunnelling {false} |
Specifies whether to enable proxy tunnelling.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::redirect {true} |
Specifies whether to follow HTTP Location headers for automatic redirects.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::redirectMax {defaultRedirectMax} |
The maximum number of automatic redirects.
Set to -1 to disable the limit.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::redirectPost301 {false} |
Specifies whether to NOT convert POST to GET requests when following 301 redirects.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::redirectPost302 {false} |
Specifies whether to NOT convert POST to GET requests when following 302 redirects.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::redirectPost303 {false} |
Specifies whether to NOT convert POST to GET requests when following 303 redirects.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::referer |
The HTTP Referer header to be set.
No custom HTTP Referer header will be sent if the string is empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::refererAutomatic {false} |
Specifies whether to send an updated HTTP Referer header when automatically redirected.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::resetTor {true} |
Specifies whether to use the TOR control server to request a new identity on connection resets.
Referenced by crawlservpp::Module::Extractor::Thread::onReset(), crawlservpp::Module::Crawler::Thread::onReset(), and crawlservpp::Network::Config::parseBasicOption().
| std::uint64_t crawlservpp::Network::Config::Entries::resetTorAfter {} |
Number of seconds until automatically using the TOR control server to request a new identity.
Set to zero to deactivate the automatic request for a new TOR identity after a specific amount of time has passed.
Referenced by crawlservpp::Module::Extractor::Thread::onReset(), crawlservpp::Module::Crawler::Thread::onReset(), and crawlservpp::Network::Config::parseBasicOption().
| std::uint64_t crawlservpp::Network::Config::Entries::resetTorOnlyAfter {defaultResetTorOnlyAfter} |
Number of seconds that need to be parsed before new identity will be requested from the TOR control server.
Referenced by crawlservpp::Module::Extractor::Thread::onReset(), crawlservpp::Module::Crawler::Thread::onReset(), and crawlservpp::Network::Config::parseBasicOption().
| std::uint64_t crawlservpp::Network::Config::Entries::speedDownLimit {} |
Maximum download speed in bytes per second.
Set to zero for unlimited download speed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::speedLowLimit {} |
Low speed limit in bytes per second.
Set to zero for not using any low speed limit.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::speedLowTime {} |
Number of seconds before a timeout occurs while the transfer speed is below the low speed limit.
Set to zero to disable timeouts because of the low speed limit.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::speedUpLimit {} |
Maximum upload speed in bytes per second.
Set to zero for unlimited upload speed.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::sslVerifyHost {true} |
Specifies whether to verify that the SSL certificate is for the server it is known as.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::sslVerifyPeer {true} |
Specifies whether to verify the authenticity of the server's SSL certificate.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::sslVerifyProxyHost {true} |
Specifies whether to verify that the SSL certificate is for the proxy server it is known as.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::sslVerifyProxyPeer {true} |
Specifies whether to verify the authenticity of the proxy's SSL certificate.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::sslVerifyStatus {false} |
Specifies whether to verify the status of the server's SSL certificate.
For this verification, the "Certificate Status Request" TLS extension (i.e. "OCSCP stapling") will be used.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::tcpFastOpen {false} |
Specifies whether TCP Fast Open will be enabled.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::tcpKeepAlive {false} |
Specifies whether TCP keep-alive probing will be enabled.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::tcpKeepAliveIdle {defaultTcpKeepAliveIdle} |
The delay that will be waited before sending keep-alive probes, in seconds.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::tcpKeepAliveInterval {defaultTcpKeepAliveInterval} |
The interval time between keep-alive probes to sent, in seconds.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::tcpNagle {false} |
Specifies whether the TCP's Nagle algorithm is enabled on this connection.
The purpose of this algorithm is to try to minimize the number of small packets on the network.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::timeOut {defaultTimeOut} |
The maximum amount of time a connection is allowed to take, in seconds.
Set to zero to disable timeouts (not recommended).
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint16_t crawlservpp::Network::Config::Entries::timeOutHappyEyeballs {} |
Number of milliseconds to try to connect only via IPv6 using the Happy Eyeballs algorithm.
After this amount of milliseconds, a connection attempt is made to the IPv4 address in parallel.
Set to zero for using the default value provided by libcurl.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::uint64_t crawlservpp::Network::Config::Entries::timeOutRequest {defaultTimeOutRequest} |
The maximum amount of time a request is allowed to take, in seconds.
Set to zero to disable timeouts (not recommended).
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::tlsSrpPassword |
User name used for TLS-SRP authentification.
Will be ignored when both tlsSrpUser and tlsSrpPassword are empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::tlsSrpUser |
Password used for TLS-SRP authentification.
Will be ignored when both tlsSrpUser and tlsSrpPassword are empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| std::string crawlservpp::Network::Config::Entries::userAgent |
Custom HTTP User-Agent header to be sent with all HTTP requests.
No HTTP User-Agent header will be sent when empty.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().
| bool crawlservpp::Network::Config::Entries::verbose {false} |
Specifies whether libtidy should produce verbose output.
The output will be written to stdout.
Referenced by crawlservpp::Network::Config::parseBasicOption(), and crawlservpp::Network::Curl::setConfigGlobal().