mirror of
https://github.com/curl/curl.git
synced 2026-07-27 16:28:59 +03:00
curl.h: add CURLE_TOO_LARGE
A new error code to be used when an internal field grows too large, like when a dynbuf reaches its maximum. Previously it would return CURLE_OUT_OF_MEMORY for this, which is highly misleading. Ref: #12268 Closes #12269
This commit is contained in:
parent
b7258e4922
commit
f58e493e44
13 changed files with 132 additions and 91 deletions
|
|
@ -47,9 +47,9 @@ User-Agent: curl/%VERSION
|
|||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
# 27 == CURLE_OUT_OF_MEMORY
|
||||
# 100 == CURLE_TOO_LARGE
|
||||
<errorcode>
|
||||
27
|
||||
100
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -132,7 +132,8 @@ e96: QUIC connection error
|
|||
e97: proxy handshake error
|
||||
e98: SSL Client Certificate required
|
||||
e99: Unrecoverable error in select/poll
|
||||
e100: Unknown error
|
||||
e100: A value or data field grew larger than allowed
|
||||
e101: Unknown error
|
||||
m-1: Please call curl_multi_perform() soon
|
||||
m0: No error
|
||||
m1: Invalid multi handle
|
||||
|
|
@ -186,7 +187,8 @@ u27: Bad scheme
|
|||
u28: Unsupported number of slashes following scheme
|
||||
u29: Bad user
|
||||
u30: libcurl lacks IDN support
|
||||
u31: CURLUcode unknown
|
||||
u31: A value or data field is larger than allowed
|
||||
u32: CURLUcode unknown
|
||||
</stdout>
|
||||
</verify>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue