"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/util/parse_proxy_v2.c" 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.

parse_proxy_v2.c  (hitch-1.5.2):parse_proxy_v2.c  (hitch-1.6.0)
skipping to change at line 180 skipping to change at line 180
printf("ALPN extension:\t%.*s\n", l, extensions + i); printf("ALPN extension:\t%.*s\n", l, extensions + i);
break; break;
case PP2_TYPE_AUTHORITY: case PP2_TYPE_AUTHORITY:
printf("Authority extension:\t%.*s\n", l, printf("Authority extension:\t%.*s\n", l,
extensions + i); extensions + i);
break; break;
case PP2_TYPE_SSL: case PP2_TYPE_SSL:
printf("PP2_TYPE_SSL client:\t0x%x\n", printf("PP2_TYPE_SSL client:\t0x%x\n",
*((char *)extensions + i)); *((char *)extensions + i));
printf("PP2_TYPE_SSL verify:\t0x%x\n", printf("PP2_TYPE_SSL verify:\t0x%x\n",
*((uint32_t *)extensions + i + 1)); *((uint32_t *)(extensions + i + 1)));
j = i + 5; j = i + 5;
/* Handle subtypes: */ /* Handle subtypes: */
while (j < i + l) { while (j < i + l) {
subtype = extensions[j]; subtype = extensions[j];
sublen = (extensions[j + 1] << 8) + sublen = (extensions[j + 1] << 8) +
extensions[j + 2]; extensions[j + 2];
j += 3; j += 3;
switch (subtype) { switch (subtype) {
case PP2_SUBTYPE_SSL_VERSION: case PP2_SUBTYPE_SSL_VERSION:
printf("SSL_VERSION:\t%.*s\n", printf("SSL_VERSION:\t%.*s\n",
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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