W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

Re: https over proxy patch

From: Srdjan Matovina -- Customer Engineering <srdjan@scot.canada.sun.com>
Date: Fri, 30 Mar 2001 10:28:24 -0500 (EST)
Message-Id: <200103301523.KAA237903@discover.canada.sun.com>
To: www-lib@w3.org
Cc: ventimi1972@yahoo.it

Use attached copy rather then the first one. In this copy I used diff option 
"-w":
User Commands                                             diff(1)



     -w    Ignores all blanks  (SPACE  and  TAB  characters)  and
           treats  all other strings of blanks as equivalent; for
           example,  `if ( a == b )'  will   compare   equal   to
           `if(a==b)'.
You aslo have to change make file to be able to build the library. There are 
dependency on SSL in HTChannl.c:150:

    if (ch->htssl){
      HTSSL_free(ch->htssl);
      ch->htssl = NULL;
    }
    So you have to link with libwwwssl when creating libwwwcore.so to avoid link 
error:
   ..... undefined reference to `HTSSL_free'
   
This has to be fix. Core library should not depend on libwwwssl. I'll fix that 
later.

Also when you add a proxy it should be like:
HTProxy_add(http, "http://proxy:8888");
If I set proxy like: HTProxy_add(https, "https://proxy:8888");
then client never connect to the secure server and also client is going into 
infinitive loop. Have to kill the client process.
Try add the proxy with http protocol type, not with https:

HTProxy_add(http, "http://proxy:8888");

Let me know the result!

Let me know if you experiance any problem or find any bug with this 
implementation. 

====
Srdjan Matovina
Sun Microsystems Americas Customer Engineering
srdjan.matovina@canada.sun.com
Ph.(905) 415-2883 Fax.(905) 477-0217




Received on Friday, 30 March 2001 10:57:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT