520 error when proxy is enabled during multipart upload... only if my origin returns a 4xx error

I have a file upload daemon proxied through CF that handles multipart file uploads. It returns 4xx authorization errors for bad headers etc... - Without proxying it returns 100 continue and uploads - When proxying with good headers it returns 100 continue and uploads - When proxying and my origin responds 401 for bad headers, I get a 520 error back in curl - Without proxying and with bad headers I get the 401 back normally. Is there maybe some special processing or timeout for multipart uploads at play here?
0 Replies
No replies yetBe the first to reply to this messageJoin