Skip to content

Commit

Permalink
support low-level libcurl
Browse files Browse the repository at this point in the history
  • Loading branch information
bachue committed Aug 28, 2024
1 parent d92f775 commit 358de8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qiniu/code.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#include <curl/curl.h>
#include "private/code.h"

#define CURLE_WEIRD_SERVER_REPLY 8
#define CURLE_HTTP2_STREAM 92
#define CURLE_HTTP3 95
#define CURLE_QUIC_CONNECT_ERROR 96

Qiniu_Retry_Decision _Qiniu_Should_Retry(int code)
{
if (code / 100 == 4 && code != 406 && code != 429)
Expand Down

0 comments on commit 358de8e

Please sign in to comment.