Riccardo Castellani wrote:
I'm using Squid 2.7 STABLE3 and I noted my software sends http Request =
where there is written:

POST http://www.inps.it/...
...
Expect: 100-Continue


Squid answers saying :


HTTP/1.0 417 Expectation failed
...
X-Squid-Error: ERR_INVALID_REQ 0


Squid uses Expect request ?!

No. Squid is HTTP/1.0 Expect does not exist in that protocol.

How Can I solve it ?

Write/Use software that knows how to handle Expect response errors properly.

When receiving 417 it should be re-trying the POST without the expect header, or the delays Expect adds to the system.

Squid other than 2.7 will not produce this error. They will just die in unexpected ways if the 100-continue your software asked for actually comes back.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24
  Current Beta Squid 3.1.0.16

Reply via email to