Re: 2.6stable5 icap client - reqmod problems with webwasher 5.x and 6

From: Westerhold, Axel <Axel.Westerhold@dont-contact.us>
Date: Mon, 20 Nov 2006 10:23:04 +0100

Hi Hendrik,

here's what you get :

Actually there is HTTP/1.1 Header but it is not set within the http entity.
As a guess calling icapReadReply from ReqModHandleofRespmod is missing one
step in the initialisation of the http object.

Regards,
Axel

CAP/1.0 200 OK^M
Encapsulated: res-hdr=0, res-body=150^M
ISTAG: "001-000-000035"^M
X-Attribute: Erot/Sex^M
X-ICAP-Profile: default^M
X-WWBlockResult: 10^M
^M
HTTP/1.1 403 Forbidden^M
Content-Length: 1402^M
Content-Type: text/html^M
Pragma: no-cache^M
Proxy-Connection: close^M
X-Error-Name: requestdynablocked^M
^M
ç×9Eëæ^M^@B^@^@^@B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^H^@E^@^@4^N~@^@@^F.D^?^@^@^
A^?^@^@^A<8c><94>^E@}Ê^]ï}å^Z^Y<80>^P ^@4V^@^@^A^A^H
^Y·^Uµ^Y·^Uµç×9E^Nç^M^@Ã^E^@^@Ã^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^H^@E^@^Eµ^Mc@^
@@^F)Þ^?^@^@^A^?^@^@^A^E@<8c><94>}å^Z^Y}Ê^]ï<80>^X ^@^Cª^@^@^A^A^H
^Y·^Uµ^Y·^Uµ57A^M
<html>

<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>Webwasher - Notification</title>
<LINK REL=stylesheet
HREF="http://127.0.0.1:9090/wwfile?name=wwerrors_stylesheet.css">
<STYLE type="text/css">
</STYLE>
</head><body>

 <table border="0" cellpadding="10" cellspacing="0" width="600">

      <tr>
        <td align="left" valign="top"><img
src="http://127.0.0.1:9090/wwfile?name=images/logo_ww.gif"

 alt="Webwasher" width="122" height="48"></td><td><p
class="notification">Notification</p></td>

      </tr>
      <tr>
        <td colspan="2" align="left">

            <p class="title">Request Blocked by URL Filter Database </td>
      </tr>

      <tr>
        <td colspan="2" align="left" valign="top">

          Your request to URL &quot;http://www.playboy.de/&quot; has been
blocked by the Webwasher URL filter database.
          The URL is listed in categories (Erotic/Sex) which are not allowed
by your administrator at this time.
          <P>

        </td>
      </tr>

      <tr>
        <td colspan="2" align="right" valign="top">

                   <small><i>URL filter database serial number:
1589</i></small>
          <hr size="1">
                   <small><i>generated 21/Oct/2006:10:18:47 +0200 by
proxy.sparkasse-bielefeld.de (Webwasher 6.0.0 Build 2455)</i></small>

        </td>
      </tr>
</table>
</body>
</html>
^M

Am 20.11.2006 10:14 Uhr schrieb "Henrik Nordstrom" unter
<henrik@henriknordstrom.net>:

> fre 2006-11-17 klockan 17:11 +0100 skrev Westerhold, Axel:
>
>> This is because Webwasher never reports the used HTTP Version. In 2.5 this
>> didn't matter because >1 was assumed and mb = httpReplyPack(rep); was used
>> in clientSendMoreData (client_side.c).
>
> So what does the REQMOD generated response from webwasher actually look
> like it it's not including an encapsulated HTTP response?
>
> Regards
> Henrik

Received on Mon Nov 20 2006 - 02:23:32 MST

This archive was generated by hypermail pre-2.1.9 : Wed Nov 29 2006 - 12:00:05 MST