Re: Proxying for HTTPS?

From: Balint Nagy Endre <[email protected]>
Date: Mon, 2 Sep 1996 23:16:47 +0200 (MET DST)

Davide Migliavacca writes:
> Sorry folks,
> I wonder if anybody has already found problems with the HTTS/SSL protocol.
> Reading the code I get the impression this type of proxying should be supported.
> However, if I try to connect after setting the "security proxy" in an average navigator :-), I get an ERR_UNSUP_REQUEST in the access.log.
> Before digging into the source I wanted to know if this is a known issue.
> I am using squid-1.1.alpha15.
Apply this small patch to src/url.c:

*** url.c.orig Mon Sep 2 23:17:08 1996
--- url.c Mon Sep 2 23:10:13 1996
***************
*** 307,316 ****
--- 307,318 ----
  
  int urlCheckRequest(r)
       request_t *r;
  {
      int rc = 0;
+ if(r->method==METHOD_CONNECT)
+ return 1;
      switch (r->protocol) {
      case PROTO_HTTP:
      case PROTO_CACHEOBJ:
        rc = 1;
        break;

This patch is needed for 1.0.11 and 1.1.alpha15.

Andrew. (Endre balint Nagy) <bne@CareNet.hu>
Received on Mon Sep 02 1996 - 14:53:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:55 MST