AmazonS3 PHP library not working for squid

What I have found so far is that:

proxy (squid) returns error code 417. This is due to the HTTP / 1.1 "Expect: 100-continue" header, which the squid does not handle correctly When suppressing the "Expect: 100-continue" header, curl returns the wrong header size

How can I come from here?

+1
source share
2 answers

If the Squid proxy MUST be used And you cannot fix Squid, then you have only one solution: tunnel the API calls to a server outside your network and pass that server on to the Amazon S3 APIs on your behalf.

S3, , , , IP- Squid-, API-, Amazon, .

, , , , Pound.

0

, , , , . , .

squid :

ignore_expect_100 on
+1

Source: https://habr.com/ru/post/1568135/


All Articles