- 'quic6@' -> address is resolved as IPv6 and protocol UDP
is used. The performance note for QUIC over IPv4 applies
as well.
- - 'rev@' -> used for reverse HTTP. Address must be a server
- with the format '<backend>/<server>'. The server will be
- used to instantiate connections to a remote address. The
- listener will try to maintain 'maxconn' connections.
+ - 'rhttp@' -> used for reverse HTTP. Address must be a
+ server with the format '<backend>/<server>'. The server
+ will be used to instantiate connections to a remote
+ address. The listener will try to maintain 'maxconn'
+ connections.
You may want to reference some environment variables in the
address parameter, see section 2.3 about environment
one of them over the FD. The bind part will use the
received socket as the client FD. Should be used
carefully.
- - 'rev@' -> custom address family for a passive server in
+ - 'rhttp@' -> custom address family for a passive server in
HTTP reverse context.
You may want to reference some environment variables in the
address parameter, see section 2.3 about environment
char *arg; /* argument passed to "bind" for better error reporting */
char *file; /* file where the section appears */
int line; /* line where the section appears */
- char *reverse_srvname; /* name of server when using "rev@" address */
+ char *reverse_srvname; /* name of server when using "rhttp@" address */
int reverse_nbconn; /* count of connections to initiate in parallel */
__decl_thread(HA_RWLOCK_T sni_lock); /* lock the SNI trees during add/del operations */
struct thread_set thread_set; /* entire set of the allowed threads (0=no restriction) */
use_backend be-reverse
backend be-reverse
- server dev rev@
+ server dev rhttp@
frontend priv
bind "fd@${priv}" proto h2
mode http
frontend fe
- bind "rev@be-pre-connect/srv" maxconn 1
+ bind "rhttp@be-pre-connect/srv" maxconn 1
use_backend be
backend be-pre-connect
use_backend be-reverse
backend be-reverse
- server dev rev@
+ server dev rhttp@
frontend priv
bind "fd@${priv}" proto h2
use_backend be-reverse
backend be-reverse
- server dev rev@ ssl sni hdr(x-name) verify none
+ server dev rhttp@ ssl sni hdr(x-name) verify none
frontend priv
bind "fd@${priv}" ssl crt ${testdir}/common.pem verify required ca-verify-file ${testdir}/ca-auth.crt alpn h2
goto fail;
}
- bind_conf->reverse_srvname = strdup(str + strlen("rev@"));
+ bind_conf->reverse_srvname = strdup(str + strlen("rhttp@"));
if (!bind_conf->reverse_srvname) {
memprintf(err, "Cannot allocate reverse HTTP bind.\n");
goto fail;
str2 += 9;
ss.ss_family = AF_CUST_SOCKPAIR;
}
- else if (strncmp(str2, "rev@", 3) == 0) {
+ else if (strncmp(str2, "rhttp@", 3) == 0) {
str2 += 4;
ss.ss_family = AF_CUST_REV_SRV;
}