"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/hitch.h" between
hitch-1.5.2.tar.gz and hitch-1.6.0.tar.gz

About: Hitch is a libev-based high performance SSL/TLS proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend.

hitch.h  (hitch-1.5.2):hitch.h  (hitch-1.6.0)
skipping to change at line 106 skipping to change at line 106
unsigned magic; unsigned magic;
#define SNI_NAME_MAGIC 0xb0626581 #define SNI_NAME_MAGIC 0xb0626581
char *servername; char *servername;
char *sni_key; char *sni_key;
sslctx *sctx; sslctx *sctx;
int is_wildcard; int is_wildcard;
VTAILQ_ENTRY(sni_name_s) list; VTAILQ_ENTRY(sni_name_s) list;
UT_hash_handle hh; UT_hash_handle hh;
} sni_name; } sni_name;
sni_name *sni_names; extern sni_name *sni_names;
#endif /* OPENSSL_NO_TLSEXT */ #endif /* OPENSSL_NO_TLSEXT */
struct backend; struct backend;
/* /*
* Proxied State * Proxied State
* *
* All state associated with one proxied connection * All state associated with one proxied connection
*/ */
skipping to change at line 154 skipping to change at line 154
int want_shutdown:1; /* Connection is int want_shutdown:1; /* Connection is
* half-shutdown */ * half-shutdown */
int handshaked:1; /* Initial handshake happened */ int handshaked:1; /* Initial handshake happened */
int clear_connected:1; /* Clear stream is int clear_connected:1; /* Clear stream is
* connected */ * connected */
int renegotiation:1; /* Renegotation is int renegotiation:1; /* Renegotation is
* occuring */ * occuring */
int npn_alpn_tried:1;/* NPN or ALPN was tried */ int npn_alpn_tried:1;/* NPN or ALPN was tried */
int client_cert_conn:1; /* Client provided
* a certificate
* over the current
* connection */
SSL *ssl; /* OpenSSL SSL state */ SSL *ssl; /* OpenSSL SSL state */
struct sockaddr_storage remote_ip; /* Remote ip returned struct sockaddr_storage remote_ip; /* Remote ip returned
* from `accept` */ * from `accept` */
int connect_port; /* local port for connection */ int connect_port; /* local port for connection */
} proxystate; } proxystate;
X509 * Find_issuer(X509 *subj, STACK_OF(X509) *chain); X509 * Find_issuer(X509 *subj, STACK_OF(X509) *chain);
#endif /* HITCH_H_INCLUDED */ #endif /* HITCH_H_INCLUDED */
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)