X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=proxy.h;h=12b47e16de88d3860faee4ab6d7639a07f77e780;hb=a063e522970946bf7d5dc052079d7773c0dee76d;hp=3df21c714d5651bbc3bc6b1bda011f50867c24e0;hpb=a1f3b7a358adaa7c2a98359cd0373aa823eeb14b;p=PuTTY.git diff --git a/proxy.h b/proxy.h index 3df21c71..12b47e16 100644 --- a/proxy.h +++ b/proxy.h @@ -30,6 +30,7 @@ struct Socket_proxy_tag { bufchain pending_oob_output_data; int pending_flush; bufchain pending_input_data; + int pending_eof; #define PROXY_STATE_NEW -1 #define PROXY_STATE_ACTIVE 0 @@ -77,7 +78,8 @@ struct Socket_proxy_tag { int sent_bufsize; /* accepting */ - OSSocket accepting_sock; + accept_fn_t accepting_constructor; + accept_ctx_t accepting_ctx; /* configuration, used to look up proxy settings */ Conf *conf;