MINOR: rhttp: rename proto_reverse_connect

This commit is renaming of module proto_reverse_connect to proto_rhttp.
This name is selected as it is shorter and more precise.
This commit is contained in:
Amaury Denoyelle 2023-11-21 10:41:06 +01:00
parent 85da7116a9
commit e09af499b4
6 changed files with 10 additions and 11 deletions

View File

@ -960,8 +960,7 @@ OBJS += src/mux_h2.o src/mux_fcgi.o src/mux_h1.o src/tcpcheck.o \
src/base64.o src/auth.o src/uri_auth.o src/time.o src/ebistree.o \
src/dynbuf.o src/wdt.o src/pipe.o src/init.o src/http_acl.o \
src/hpack-huff.o src/hpack-enc.o src/dict.o src/freq_ctr.o \
src/ebtree.o src/hash.o src/dgram.o src/version.o \
src/proto_reverse_connect.o
src/ebtree.o src/hash.o src/dgram.o src/version.o src/proto_rhttp.o
ifneq ($(TRACE),)
OBJS += src/calltrace.o

View File

@ -1,5 +1,5 @@
#ifndef _HAPROXY_PROTO_REVERSE_CONNECT_H_T
#define _HAPROXY_PROTO_REVERSE_CONNECT_H_T
#ifndef _HAPROXY_PROTO_RHTTP_H_T
#define _HAPROXY_PROTO_RHTTP_H_T
/* State for reverse preconnect listener state machine.
* Used to limit log reporting only on state changes.
@ -11,4 +11,4 @@ enum li_preconn_state {
LI_PRECONN_ST_FULL, /* pre-connect maxconn reached */
};
#endif /* _HAPROXY_PROTO_REVERSE_CONNECT_H_T */
#endif /* _HAPROXY_PROTO_RHTTP_H_T */

View File

@ -1,5 +1,5 @@
#ifndef _HAPROXY_PROTO_REVERSE_CONNECT_H
#define _HAPROXY_PROTO_REVERSE_CONNECT_H
#ifndef _HAPROXY_PROTO_RHTTP_H
#define _HAPROXY_PROTO_RHTTP_H
#include <haproxy/connection-t.h>
#include <haproxy/listener-t.h>
@ -18,4 +18,4 @@ int rev_accepting_conn(const struct receiver *rx);
void rev_notify_preconn_err(struct listener *l);
#endif /* _HAPROXY_PROTO_REVERSE_CONNECT_H */
#endif /* _HAPROXY_PROTO_RHTTP_H */

View File

@ -27,7 +27,7 @@
#include <haproxy/api-t.h>
#include <haproxy/namespace-t.h>
#include <haproxy/proto_reverse_connect-t.h>
#include <haproxy/proto_rhttp-t.h>
#include <haproxy/quic_sock-t.h>
#include <haproxy/thread.h>

View File

@ -25,7 +25,7 @@
#include <haproxy/log.h>
#include <haproxy/namespace.h>
#include <haproxy/net_helper.h>
#include <haproxy/proto_reverse_connect.h>
#include <haproxy/proto_rhttp.h>
#include <haproxy/proto_tcp.h>
#include <haproxy/sample.h>
#include <haproxy/sc_strm.h>

View File

@ -16,7 +16,7 @@
#include <haproxy/ssl_sock.h>
#include <haproxy/task.h>
#include <haproxy/proto_reverse_connect.h>
#include <haproxy/proto_rhttp.h>
struct proto_fam proto_fam_reverse_connect = {
.name = "reverse_connect",