Re: Re: HTTPCall error

От: Vladimir A. Butenko <CGatePro_at_mx_ru>
Дата: Wed 26 Oct 2005 - 10:33:48 MSD

On Wed, 26 Oct 2005 10:24:13 +0400
  "Aleksey Silin" <CGatePro@mx.ru> wrote:

> Вот тот же самый запрос с включенным прозрачным проксированием на squid:
> 10:12:44.06 4 HTTPO-00031 connecting to [194.67.57.26:80]
> 10:12:44.07 4 HTTPO-00031 opening protocol
> 10:12:44.07 5 HTTPO-00031 out: GET / HTTP/1.1\r\nHost:
>www.mail.ru\r\nConnection: keep-alive\r\nUser-Agent: CommuniGatePro\r\n\r\n
> 10:12:44.16 5 HTTPO-00031 inp: HTTP/1.0 200 OK
> 10:12:44.17 2 PBXLEG-00084 ProgramLog: "incorrect response from HTTP
>server"

Ну, не любит он HTTP/1.0.
Чай, не 1995 год на дворе...

> Вот лог при отключеном squid
> 18:15:21.00 4 HTTPO-00028 connecting to [62.118.250.7:80]
> 18:15:21.00 4 HTTPO-00028 opening protocol
> 18:15:21.00 5 HTTPO-00028 out: GET / HTTP/1.1\r\nHost:
>www.altlinux.ru\r\nConnection: keep-alive\r\nUser-Agent:
>CommuniGatePro\r\n\r\n
> 18:15:23.13 5 HTTPO-00028 inp: HTTP/1.0 200 OK

То же самое.

> 18:15:47.00 4 HTTPO-00029 connecting to [62.118.250.7:80]
> 18:15:47.00 4 HTTPO-00029 opening protocol
> 18:15:47.00 5 HTTPO-00029 out: GET / HTTP/1.1\r\nHost:
>www.altlinux.ru\r\nConnection: keep-alive\r\nUser-Agent:
>CommuniGatePro\r\n\r\n
> 18:15:48.66 5 HTTPO-00029 inp: HTTP/1.1 200 OK
> 18:15:48.66 5 HTTPO-00029 inp: Date: Tue, 25 Oct 2005 14:15:46 GMT
> 18:15:48.66 5 HTTPO-00029 inp: Server: Apache/1.3.33 (ALT Linux/alt1)
>mod_ssl/2.8.21 OpenSSL/0.9.7d PHP/4.3.10-ALT
> 18:15:48.66 5 HTTPO-00029 inp: X-Powered-By: PHP/4.3.10-ALT
> 18:15:48.66 5 HTTPO-00029 inp: Set-Cookie:
>sessioncookie=c405a2fe38d28b13af830e0635454d8a; expires=Wed, 26-Oct-2005
>02:15:47 GMT; path=/
> 18:15:48.66 5 HTTPO-00029 inp: Expires: Mon, 26 Jul 1997 05:00:00 GMT
> 18:15:48.66 5 HTTPO-00029 inp: Last-Modified: Tue, 25 Oct 2005 14:15:48
>GMT
> 18:15:48.66 5 HTTPO-00029 inp: Cache-Control: no-store, no-cache,
>must-revalidate
> 18:15:48.66 5 HTTPO-00029 inp: Cache-Control: post-check=0, pre-check=0
> 18:15:48.66 5 HTTPO-00029 inp: Pragma: no-cache
> 18:15:48.66 5 HTTPO-00029 inp: Keep-Alive: timeout=10, max=100
> 18:15:48.66 5 HTTPO-00029 inp: Connection: Keep-Alive
> 18:15:48.66 5 HTTPO-00029 inp: Transfer-Encoding: chunked
> 18:15:48.66 5 HTTPO-00029 inp: Content-Type: text/html
> 18:15:48.66 5 HTTPO-00029 inp:
> 18:15:48.66 1 HTTPO-00029 no Content-Length field

Опять же - всё честно сказал.
Вы хотите keep-alive, при этом не написали Content-Length.

> Вот с включенным прозрачным проксированием на squid:
> 18:15:47.00 4 HTTPO-00029 connecting to [62.118.250.7:80]
> 18:15:47.00 4 HTTPO-00029 opening protocol
> 18:15:47.00 5 HTTPO-00029 out: GET / HTTP/1.1\r\nHost:
>www.altlinux.ru\r\nConnection: keep-alive\r\nUser-Agent:
>CommuniGatePro\r\n\r\n

Тут Вы даже не посмотрели, каков был ответ.

Sincerely,
Vladimir Получено Wed Oct 26 06:31:55 2005

Этот архив был сгенерирован hypermail 2.1.8 : Fri 24 Apr 2015 - 16:14:20 MSK