MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Content-Length with HTTPS



I posted a problem about 4 weeks ago about using MV with a http server called Roxen.  It worked great except when I run MV through an https (SSL3) port on Roxen and the suggestions from this list stated a bad ScriptAlias.  Roxen doesn't have this type of animal, but I verified that the equivalent was all right and proceeded to beat up the Roxen people.

To refresh everyones memory, I'm getting the error:

dell400.mmaz.com - - [13/January/1999:17:57:19 +0000] - /cgi-bin/midwest-mi.cgi/process Could not open error file : No such file or directory
>
> to report this error:
> dell400.mmaz.com - - [13/January/1999:17:57:19 +0000] - /cgi-bin/midwest-mi.cgi/process Runtime error: Syntax error in post input:
> > POST /cgi-bin/midwest-mi.cgi/process?9gMkhgQy;;5 HTTP/1.0
> > Referer: https://secure.midwest-microwave.c
> >
>

and the crux of the problem seems to be that MV sees the value of Content-Length for the entity body and uses it for the stream read which truncates the input stream at 102 bytes and the original stream actual looks like:


SSL.connection: received packet of type 23
SSL.sslfile->ssl_read_callback: application_data: 'POST /cgi-bin/midwest-mi.cgi/process?9gMkhgQy;;5 HTTP/1.0
Referer: https://secure.midwest-microwave.com:27786/cgi-bin/midwest-mi.cgi/login
Connection: Keep-Alive
User-Agent: Mozilla/4.04 [en] (WinNT; U)
Host: secure.midwest-microwave.com:27786
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Cookie: RoxenUserID=0x368a7b7c; MV_SESSION_ID=9gMkhgQy:38.186.45.95
Content-type: application/x-www-form-urlencoded
Content-length: 102

mv_click=Login&mv_doit=return&mv_nextpage=checklogin&mv_username=xxUSERNAMExx&mv_password=xxPASSWORDxx'
SSL3:ssl_accept_callback(X)

When I do the same test WITHOUT encryption, the header stuff does not appear and MV works fine.  The questions is, whose fault is this???  It seems that after beating on the Roxen folks for the past 3 weeks, it may be MV fault after all since the stream isn't being read correctly!  Can anyone please offer some helpful insights??

TIA

Barry


Search for: Match: Format: Sort by: