Skip to content

Commit c163efe

Browse files
committed
Cleans up duplicated TSOutboundConnectionMatchType definition
1 parent 6223d64 commit c163efe

2 files changed

Lines changed: 0 additions & 18 deletions

File tree

include/ts/apidefs.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,6 @@ typedef enum {
598598
AFTER_BODY,
599599
} TSFetchWakeUpOptions;
600600

601-
#ifndef _HTTP_PROXY_API_ENUMS_H_
602-
#define _HTTP_PROXY_API_ENUMS_H_
603601
/// Values for per server outbound connection tracking group definition.
604602
/// See proxy.config.http.per_server.match
605603
typedef enum {
@@ -608,7 +606,6 @@ typedef enum {
608606
TS_SERVER_OUTBOUND_MATCH_HOST,
609607
TS_SERVER_OUTBOUND_MATCH_BOTH
610608
} TSOutboundConnectionMatchType;
611-
#endif
612609

613610
/* librecords types */
614611

proxy/http/HttpProxyAPIEnums.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,3 @@ typedef enum {
5555
TS_SERVER_SESSION_SHARING_POOL_GLOBAL,
5656
TS_SERVER_SESSION_SHARING_POOL_THREAD,
5757
} TSServerSessionSharingPoolType;
58-
59-
// This is use to signal apidefs.h to not define these again.
60-
#ifndef _HTTP_PROXY_API_ENUMS_H_
61-
#define _HTTP_PROXY_API_ENUMS_H_
62-
63-
/// Values for per server outbound connection tracking group definition.
64-
/// See proxy.config.http.per_server.match
65-
typedef enum {
66-
TS_SERVER_OUTBOUND_MATCH_IP,
67-
TS_SERVER_OUTBOUND_MATCH_PORT,
68-
TS_SERVER_OUTBOUND_MATCH_HOST,
69-
TS_SERVER_OUTBOUND_MATCH_BOTH
70-
} TSOutboundConnectionMatchType;
71-
72-
#endif

0 commit comments

Comments
 (0)