We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f6711 commit 92a8022Copy full SHA for 92a8022
libraries/SSLClient/src/ssl_client.cpp
@@ -38,6 +38,7 @@ static int _handle_error(int err, const char * file, int line)
38
39
#define handle_error(e) _handle_error(e, __FUNCTION__, __LINE__)
40
41
+#if defined(SSL_CLIENT_RECV_DISABLE_TIMEOUT)
42
/**
43
* \brief Read at most 'len' characters. If no error occurs,
44
* the actual amount read is returned.
@@ -71,8 +72,8 @@ static int client_net_recv( void *ctx, unsigned char *buf, size_t len ) {
71
72
73
return result;
74
}
-
75
-int client_net_recv_timeout( void *ctx, unsigned char *buf,
+#else
76
+staticint client_net_recv_timeout( void *ctx, unsigned char *buf,
77
size_t len, uint32_t timeout ) {
78
Client *client = (Client*)ctx;
79
if (!client) {
@@ -105,7 +106,7 @@ int client_net_recv_timeout( void *ctx, unsigned char *buf,
105
106
107
108
109
+#endif
110
111
112
* \brief Write at most 'len' characters. If no error occurs,
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments