Christoph M. Becker
fc8b3ab7cb
Fix #79013 : Content-Length missing when posting a curlFile with curl
...
Unfortunately, some Webservers (e.g. IIS) do not implement the (F)CGI
specifications correctly wrt. chunked uploads (i.e. Transfer-encoding:
chunked), but instead pass -1 as CONTENT_LENGTH to the CGI
application. However, our (F)CFI SAPIs (i.e. cgi and cgi-fcgi) do not
support this.
Therefore we try to retrieve the stream size in advance and pass it to
`curl_mime_data_cb()` to prevent libcurl from doing chunked uploads.
This is basically the same approach that `curl_mime_filedata()`
implements, except that we are keeping already opened streams open for
the `read_cb()`.
2020-03-02 19:11:33 +01:00
..
2019-12-16 10:32:49 -08:00
2019-09-04 08:53:35 +02:00
2020-01-11 06:16:03 +14:00
2020-03-02 11:38:03 +01:00
2020-03-02 19:11:33 +01:00
2020-02-03 13:41:31 +01:00
2020-01-03 18:51:07 +01:00
2020-02-17 09:09:30 +01:00
2020-02-28 15:44:52 +01:00
2019-12-30 17:23:53 +01:00
2020-02-17 12:48:55 +03:00
2020-03-02 15:08:50 +01:00
2019-07-22 11:39:52 +02:00
2020-01-20 09:59:27 +01:00
2020-01-06 10:38:22 +01:00
2019-09-20 13:30:13 +02:00
2020-02-03 13:41:31 +01:00
2019-10-08 12:10:58 +02:00
2020-01-20 09:59:27 +01:00
2020-02-28 10:21:50 +01:00
2019-10-30 11:06:46 +01:00
2019-10-19 19:19:28 +02:00
2020-02-03 23:33:20 +01:00
2020-01-30 11:21:26 +01:00
2020-02-27 09:39:13 +01:00
2020-03-02 16:32:51 +01:00
2019-08-28 17:58:35 +02:00
2020-02-28 14:48:02 +01:00
2020-01-21 16:20:04 +01:00
2019-12-20 11:02:57 +01:00
2020-02-11 17:31:48 +01:00
2019-09-30 17:51:41 +02:00
2019-09-09 14:24:26 +02:00
2020-02-03 13:41:31 +01:00
2020-02-03 13:41:31 +01:00
2019-09-09 10:10:41 +02:00
2020-02-17 22:54:16 +01:00
2019-12-20 12:06:05 +01:00
2020-02-03 13:41:31 +01:00
2019-07-22 17:17:28 +02:00
2020-02-17 00:20:17 -08:00
2019-08-09 10:33:15 +02:00
2019-09-30 17:51:41 +02:00
2020-02-28 17:07:36 +01:00
2020-02-17 00:20:17 -08:00
2019-10-02 08:17:04 +02:00
2020-01-20 09:59:27 +01:00
2020-02-03 13:41:31 +01:00
2019-10-12 16:28:57 +02:00
2020-02-24 12:41:24 +01:00
2020-02-03 13:41:31 +01:00
2020-02-21 13:37:31 +01:00
2020-02-24 10:20:43 +01:00
2019-10-14 16:36:27 +02:00
2020-02-03 23:33:20 +01:00
2020-01-30 13:06:25 +01:00
2020-01-14 16:46:58 +01:00
2020-02-28 10:39:08 +01:00
2019-09-04 08:53:35 +02:00
2020-02-03 13:41:31 +01:00