我也遇到同样问题,尝试上传小文件成功,大文件失败。使用系统为Debian 12。
大文件(约20G)上传信息如下:
$ curl -v -k -F 'file=@BforBusy2021.mkv' -F "key=token" -X POST "https://tmp-cli.vx-cdn.com/app/upload_cli"
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 180.144.219.227:443...
* Connected to tmp-cli.vx-cdn.com (180.144.219.227) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
* subject: CN=*.vx-cdn.com
* start date: Apr 27 13:59:17 2025 GMT
* expire date: Jul 26 13:59:16 2025 GMT
* issuer: C=US; O=Google Trust Services; CN=WR1
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* using HTTP/2
* h2h3 [:method: POST]
* h2h3 [:path: /app/upload_cli]
* h2h3 [:scheme: https]
* h2h3 [:authority: tmp-cli.vx-cdn.com]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* h2h3 [content-length: 21769053998]
* h2h3 [content-type: multipart/form-data; boundary=------------------------68cc753c6e04fc79]
* Using Stream ID: 1 (easy handle 0x5564602f17a0)
> POST /app/upload_cli HTTP/2
> Host: tmp-cli.vx-cdn.com
> user-agent: curl/7.88.1
> accept: */*
> content-length: 21769053998
> content-type: multipart/form-data; boundary=------------------------68cc753c6e04fc79
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* We are completely uploaded and fine
< HTTP/2 200
< server: nginx
< date: Thu, 22 May 2025 01:48:01 GMT
< content-type: text/html; charset=UTF-8
< access-control-allow-origin: *
<
* Connection #0 to host tmp-cli.vx-cdn.com left intact
{"status":12,"data":"Error: Uploaded file size is 0 "}