Artifactspublic-v0

curl

master
ply4 git calls27 ms292 KiB3 cachedprotocol v2
787 lines21 KiBRaw
1/***************************************************************************
2 * _ _ ____ _
3 * Project ___| | | | _ \| |
4 * / __| | | | |_) | |
5 * | (__| |_| | _ <| |___
6 * \___|\___/|_| \_\_____|
7 *
8 * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
9 *
10 * This software is licensed as described in the file COPYING, which
11 * you should have received as part of this distribution. The terms
12 * are also available at https://curl.se/docs/copyright.html.
13 *
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 * copies of the Software, and permit persons to whom the Software is
16 * furnished to do so, under the terms of the COPYING file.
17 *
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
20 *
21 * SPDX-License-Identifier: curl
22 *
23 ***************************************************************************/
25/* Location of default CA bundle */
26#cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
28/* define "1" to use built-in CA store of TLS backend */
29#cmakedefine CURL_CA_FALLBACK 1
31/* Location of default CA path */
32#cmakedefine CURL_CA_PATH "${CURL_CA_PATH}"
34/* Default SSL backend */
35#cmakedefine CURL_DEFAULT_SSL_BACKEND "${CURL_DEFAULT_SSL_BACKEND}"
37/* Use native CA store */
38#cmakedefine CURL_CA_NATIVE 1
40/* disables alt-svc */
41#cmakedefine CURL_DISABLE_ALTSVC 1
43/* disables cookies support */
44#cmakedefine CURL_DISABLE_COOKIES 1
46/* disables Basic authentication */
47#cmakedefine CURL_DISABLE_BASIC_AUTH 1
49/* disables Bearer authentication */
50#cmakedefine CURL_DISABLE_BEARER_AUTH 1
52/* disables Digest authentication */
53#cmakedefine CURL_DISABLE_DIGEST_AUTH 1
55/* disables Kerberos authentication */
56#cmakedefine CURL_DISABLE_KERBEROS_AUTH 1
58/* disables negotiate authentication */
59#cmakedefine CURL_DISABLE_NEGOTIATE_AUTH 1
61/* disables aws-sigv4 */
62#cmakedefine CURL_DISABLE_AWS 1
64/* disables HTTP Message Signatures (RFC 9421) */
65#cmakedefine CURL_DISABLE_HTTPSIG 1
67/* disables DICT */
68#cmakedefine CURL_DISABLE_DICT 1
70/* disables DNS-over-HTTPS */
71#cmakedefine CURL_DISABLE_DOH 1
73/* disables FILE */
74#cmakedefine CURL_DISABLE_FILE 1
76/* disables form api */
77#cmakedefine CURL_DISABLE_FORM_API 1
79/* disables FTP */
80#cmakedefine CURL_DISABLE_FTP 1
82/* disables curl_easy_options API for existing options to curl_easy_setopt */
83#cmakedefine CURL_DISABLE_GETOPTIONS 1
85/* disables GOPHER */
86#cmakedefine CURL_DISABLE_GOPHER 1
88/* disables headers-api support */
89#cmakedefine CURL_DISABLE_HEADERS_API 1
91/* disables HSTS support */
92#cmakedefine CURL_DISABLE_HSTS 1
94/* disables HTTP */
95#cmakedefine CURL_DISABLE_HTTP 1
97/* disabled all HTTP authentication methods */
98#cmakedefine CURL_DISABLE_HTTP_AUTH 1
100/* disables IMAP */
101#cmakedefine CURL_DISABLE_IMAP 1
103/* disables LDAP */
104#cmakedefine CURL_DISABLE_LDAP 1
106/* disables LDAPS */
107#cmakedefine CURL_DISABLE_LDAPS 1
109/* disables --libcurl option from the curl tool */
110#cmakedefine CURL_DISABLE_LIBCURL_OPTION 1
112/* disables MIME support */
113#cmakedefine CURL_DISABLE_MIME 1
115/* disables local binding support */
116#cmakedefine CURL_DISABLE_BINDLOCAL 1
118/* disables MQTT */
119#cmakedefine CURL_DISABLE_MQTT 1
121/* disables netrc parser */
122#cmakedefine CURL_DISABLE_NETRC 1
124/* disables date parsing */
125#cmakedefine CURL_DISABLE_PARSEDATE 1
127/* disables POP3 */
128#cmakedefine CURL_DISABLE_POP3 1
130/* disables built-in progress meter */
131#cmakedefine CURL_DISABLE_PROGRESS_METER 1
133/* disables proxies */
134#cmakedefine CURL_DISABLE_PROXY 1
136/* disables IPFS from the curl tool */
137#cmakedefine CURL_DISABLE_IPFS 1
139/* disables RTSP */
140#cmakedefine CURL_DISABLE_RTSP 1
142/* disables SHA-512/256 hash algorithm */
143#cmakedefine CURL_DISABLE_SHA512_256 1
145/* disabled shuffle DNS feature */
146#cmakedefine CURL_DISABLE_SHUFFLE_DNS 1
148/* disables SMTP */
149#cmakedefine CURL_DISABLE_SMTP 1
151/* disabled WebSocket */
152#cmakedefine CURL_DISABLE_WEBSOCKETS 1
154/* disables use of socketpair for curl_multi_poll() */
155#cmakedefine CURL_DISABLE_SOCKETPAIR 1
157/* disables TELNET */
158#cmakedefine CURL_DISABLE_TELNET 1
160/* disables TFTP */
161#cmakedefine CURL_DISABLE_TFTP 1
163/* disables verbose strings */
164#cmakedefine CURL_DISABLE_VERBOSE_STRINGS 1
166/* disables unsafe CA bundle search on Windows from the curl tool */
167#cmakedefine CURL_DISABLE_CA_SEARCH 1
169/* safe CA bundle search (within the curl tool directory) on Windows */
170#cmakedefine CURL_CA_SEARCH_SAFE 1
172/* to make a symbol visible */
173#cmakedefine CURL_EXTERN_SYMBOL ${CURL_EXTERN_SYMBOL}
174/* Ensure using CURL_EXTERN_SYMBOL is possible */
175#ifndef CURL_EXTERN_SYMBOL
176#define CURL_EXTERN_SYMBOL
177#endif
179/* Allow SMB to work on Windows */
180#cmakedefine USE_WIN32_CRYPTO 1
182/* Use Windows LDAP implementation */
183#cmakedefine USE_WIN32_LDAP 1
185/* Define if you want to enable IPv6 support */
186#cmakedefine USE_IPV6 1
188/* Define to 1 if you have the alarm function. */
189#cmakedefine HAVE_ALARM 1
191/* Define to 1 if you have the arc4random function. */
192#cmakedefine HAVE_ARC4RANDOM 1
194/* Define to 1 if you have the <arpa/inet.h> header file. */
195#cmakedefine HAVE_ARPA_INET_H 1
197/* Define to 1 if you have _Atomic support. */
198#cmakedefine HAVE_ATOMIC 1
200/* Define to 1 if you have the `accept4' function. */
201#cmakedefine HAVE_ACCEPT4 1
203/* Define to 1 if you have the `fchmod' function. */
204#cmakedefine HAVE_FCHMOD 1
206/* Define to 1 if you have the `fnmatch' function. */
207#cmakedefine HAVE_FNMATCH 1
209/* Define to 1 if you have the `basename' function. */
210#cmakedefine HAVE_BASENAME 1
212/* Define to 1 if bool is an available type. */
213#cmakedefine HAVE_BOOL_T 1
215/* Define to 1 if you have the __builtin_available function. */
216#cmakedefine HAVE_BUILTIN_AVAILABLE 1
218/* Define to 1 if you have the clock_gettime function and monotonic timer. */
219#cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 1
221/* Define to 1 if you have the clock_gettime function and raw monotonic timer.
222 */
223#cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC_RAW 1
225/* Define to 1 if you have the `closesocket' function. */
226#cmakedefine HAVE_CLOSESOCKET 1
228/* Define to 1 if you have the `CloseSocket' function. */
229#cmakedefine HAVE_CLOSESOCKET_CAMEL 1
231/* Define to 1 if you have the <dirent.h> header file. */
232#cmakedefine HAVE_DIRENT_H 1
234/* Define to 1 if you have the `opendir' function. */
235#cmakedefine HAVE_OPENDIR 1
237/* Define to 1 if you have the memset_explicit (C23) function. */
238#cmakedefine HAVE_MEMSET_EXPLICIT 1
240/* Define to 1 if you have the memset_s (C11) function. */
241#cmakedefine HAVE_MEMSET_S 1
243/* Define to 1 if you have the fcntl function. */
244#cmakedefine HAVE_FCNTL 1
246/* Define to 1 if you have the <fcntl.h> header file. */
247#cmakedefine HAVE_FCNTL_H 1
249/* Define to 1 if you have a working fcntl O_NONBLOCK function. */
250#cmakedefine HAVE_FCNTL_O_NONBLOCK 1
252/* Define to 1 if you have the freeaddrinfo function. */
253#cmakedefine HAVE_FREEADDRINFO 1
255/* Define to 1 if you have the fseeko function. */
256#cmakedefine HAVE_FSEEKO 1
258/* Define to 1 if you have the fseeko declaration. */
259#cmakedefine HAVE_DECL_FSEEKO 1
261/* Define to 1 if you have a working getaddrinfo function. */
262#cmakedefine HAVE_GETADDRINFO 1
264/* Define to 1 if the getaddrinfo function is thread-safe. */
265#cmakedefine HAVE_GETADDRINFO_THREADSAFE 1
267/* Define to 1 if you have the `geteuid' function. */
268#cmakedefine HAVE_GETEUID 1
270/* Define to 1 if you have the `getppid' function. */
271#cmakedefine HAVE_GETPPID 1
273/* Define to 1 if you have the gethostbyname_r function. */
274#cmakedefine HAVE_GETHOSTBYNAME_R 1
276/* gethostbyname_r() takes 3 args */
277#cmakedefine HAVE_GETHOSTBYNAME_R_3 1
279/* gethostbyname_r() takes 5 args */
280#cmakedefine HAVE_GETHOSTBYNAME_R_5 1
282/* gethostbyname_r() takes 6 args */
283#cmakedefine HAVE_GETHOSTBYNAME_R_6 1
285/* Define to 1 if you have the gethostname function. */
286#cmakedefine HAVE_GETHOSTNAME 1
288/* Define to 1 if you have a working getifaddrs function. */
289#cmakedefine HAVE_GETIFADDRS 1
291/* Define to 1 if you have the `getpass_r' function. */
292#cmakedefine HAVE_GETPASS_R 1
294/* Define to 1 if you have the `getpeername' function. */
295#cmakedefine HAVE_GETPEERNAME 1
297/* Define to 1 if you have the `getsockname' function. */
298#cmakedefine HAVE_GETSOCKNAME 1
300/* Define to 1 if you have the `if_nametoindex' function. */
301#cmakedefine HAVE_IF_NAMETOINDEX 1
303/* Define to 1 if you have the `getpwuid' function. */
304#cmakedefine HAVE_GETPWUID 1
306/* Define to 1 if you have the `getpwuid_r' function. */
307#cmakedefine HAVE_GETPWUID_R 1
309/* Define to 1 if you have the `getrlimit' function. */
310#cmakedefine HAVE_GETRLIMIT 1
312/* Define to 1 if you have the `gettimeofday' function. */
313#cmakedefine HAVE_GETTIMEOFDAY 1
315/* Define to 1 if you have a working glibc-style strerror_r function. */
316#cmakedefine HAVE_GLIBC_STRERROR_R 1
318/* Define to 1 if you have a working gmtime_r function. */
319#cmakedefine HAVE_GMTIME_R 1
321/* if you have the gssapi libraries */
322#cmakedefine HAVE_GSSAPI 1
324/* if you have Apple GSS */
325#cmakedefine HAVE_GSSAPPLE 1
327/* if you have the GNU gssapi libraries */
328#cmakedefine HAVE_GSSGNU 1
330/* if you have gss_set_neg_mechs */
331#cmakedefine HAVE_GSS_SET_NEG_MECHS 1
333/* MIT Kerberos version */
334#cmakedefine CURL_KRB5_VERSION ${CURL_KRB5_VERSION}
336/* BoringSSL version */
337#cmakedefine CURL_BORINGSSL_VERSION ${CURL_BORINGSSL_VERSION}
339/* Patch stamp */
340#cmakedefine CURL_PATCHSTAMP ${CURL_PATCHSTAMP}
342/* Define to 1 if you have the <ifaddrs.h> header file. */
343#cmakedefine HAVE_IFADDRS_H 1
345/* Define to 1 if symbol `sa_family_t' exists */
346#cmakedefine HAVE_SA_FAMILY_T 1
348/* Define to 1 if you have the ioctlsocket function. */
349#cmakedefine HAVE_IOCTLSOCKET 1
351/* Define to 1 if you have the IoctlSocket camel case function. */
352#cmakedefine HAVE_IOCTLSOCKET_CAMEL 1
354/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
355 */
356#cmakedefine HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
358/* Define to 1 if you have a working ioctlsocket FIONBIO function. */
359#cmakedefine HAVE_IOCTLSOCKET_FIONBIO 1
361/* Define to 1 if you have a working ioctl FIONBIO function. */
362#cmakedefine HAVE_IOCTL_FIONBIO 1
364/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
365#cmakedefine HAVE_IOCTL_SIOCGIFADDR 1
367/* Define to 1 if you have the <io.h> header file. */
368#cmakedefine HAVE_IO_H 1
370/* Define to 1 if you have the lber.h header file. */
371#cmakedefine HAVE_LBER_H 1
373/* Use LDAPS implementation */
374#cmakedefine HAVE_LDAP_SSL 1
376/* Define to 1 if you have the ldap_ssl.h header file. */
377#cmakedefine HAVE_LDAP_SSL_H 1
379/* Define to 1 if you have the `ldap_url_parse' function. */
380#cmakedefine HAVE_LDAP_URL_PARSE 1
382/* Define to 1 if you have the <libgen.h> header file. */
383#cmakedefine HAVE_LIBGEN_H 1
385/* Define to 1 if you have the `idn2' library (-lidn2). */
386#cmakedefine HAVE_LIBIDN2 1
388/* Define to 1 if you have the idn2.h header file. */
389#cmakedefine HAVE_IDN2_H 1
391/* if zlib is available */
392#cmakedefine HAVE_LIBZ 1
394/* if brotli is available */
395#cmakedefine HAVE_BROTLI 1
397/* if zstd is available */
398#cmakedefine HAVE_ZSTD 1
400/* Define to 1 if you have the <locale.h> header file. */
401#cmakedefine HAVE_LOCALE_H 1
403/* Define to 1 if you have a working localtime_r function. */
404#cmakedefine HAVE_LOCALTIME_R 1
406/* Define to 1 if you have the 'suseconds_t' data type. */
407#cmakedefine HAVE_SUSECONDS_T 1
409/* Define to 1 if you have the <netdb.h> header file. */
410#cmakedefine HAVE_NETDB_H 1
412/* Define to 1 if you have the <netinet/in.h> header file. */
413#cmakedefine HAVE_NETINET_IN_H 1
415/* Define to 1 if you have the <netinet/in6.h> header file. */
416#cmakedefine HAVE_NETINET_IN6_H 1
418/* Define to 1 if you have the <netinet/tcp.h> header file. */
419#cmakedefine HAVE_NETINET_TCP_H 1
421/* Define to 1 if you have the <netinet/udp.h> header file. */
422#cmakedefine HAVE_NETINET_UDP_H 1
424/* Define to 1 if you have the <netinet/ip.h> header file. */
425#cmakedefine HAVE_NETINET_IP_H 1
427/* Define to 1 if you have the <net/if.h> header file. */
428#cmakedefine HAVE_NET_IF_H 1
430/* Define to 1 if you have the `pipe' function. */
431#cmakedefine HAVE_PIPE 1
433/* Define to 1 if you have the `pipe2' function. */
434#cmakedefine HAVE_PIPE2 1
436/* Define to 1 if you have the `eventfd' function. */
437#cmakedefine HAVE_EVENTFD 1
439/* If you have poll */
440#cmakedefine HAVE_POLL 1
442/* If you have realpath */
443#cmakedefine HAVE_REALPATH 1
445/* Define to 1 if you have the <poll.h> header file. */
446#cmakedefine HAVE_POLL_H 1
448/* Define to 1 if you have a working POSIX-style strerror_r function. */
449#cmakedefine HAVE_POSIX_STRERROR_R 1
451/* Define to 1 if you have the <pwd.h> header file. */
452#cmakedefine HAVE_PWD_H 1
454/* Define to 1 if OpenSSL has the `SSL_set0_wbio` function. */
455#cmakedefine HAVE_SSL_SET0_WBIO 1
457/* Define to 1 if you have the recv function. */
458#cmakedefine HAVE_RECV 1
460/* Define to 1 if you have the sched_yield function. */
461#cmakedefine HAVE_SCHED_YIELD 1
463/* Define to 1 if you have the send function. */
464#cmakedefine HAVE_SEND 1
466/* Define to 1 if you have the sendmsg function. */
467#cmakedefine HAVE_SENDMSG 1
469/* Define to 1 if you have the sendmmsg function. */
470#cmakedefine HAVE_SENDMMSG 1
472/* Define to 1 if you have the 'fsetxattr' function. */
473#cmakedefine HAVE_FSETXATTR 1
475/* fsetxattr() takes 5 args */
476#cmakedefine HAVE_FSETXATTR_5 1
478/* fsetxattr() takes 6 args */
479#cmakedefine HAVE_FSETXATTR_6 1
481/* Define to 1 if you have the `setlocale' function. */
482#cmakedefine HAVE_SETLOCALE 1
484/* Define to 1 if you have the `setrlimit' function. */
485#cmakedefine HAVE_SETRLIMIT 1
487/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
488#cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 1
490/* Define to 1 if you have the sigaction function. */
491#cmakedefine HAVE_SIGACTION 1
493/* Define to 1 if you have the siginterrupt function. */
494#cmakedefine HAVE_SIGINTERRUPT 1
496/* Define to 1 if you have the signal function. */
497#cmakedefine HAVE_SIGNAL 1
499/* Define to 1 if you have the sigsetjmp function or macro. */
500#cmakedefine HAVE_SIGSETJMP 1
502/* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */
503#cmakedefine HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
505/* Define to 1 if you have the `socket' function. */
506#cmakedefine HAVE_SOCKET 1
508/* Define to 1 if you have the <proto/bsdsocket.h> header file. */
509#cmakedefine HAVE_PROTO_BSDSOCKET_H 1
511/* Define to 1 if you have the socketpair function. */
512#cmakedefine HAVE_SOCKETPAIR 1
514/* Define to 1 if you have the <stdatomic.h> header file. */
515#cmakedefine HAVE_STDATOMIC_H 1
517/* Define to 1 if you have the <stdbool.h> header file. */
518#cmakedefine HAVE_STDBOOL_H 1
520/* Define to 1 if you have the strcasecmp function. */
521#cmakedefine HAVE_STRCASECMP 1
523/* Define to 1 if you have the strcmpi function. */
524#cmakedefine HAVE_STRCMPI 1
526/* Define to 1 if you have the strerror_r function. */
527#cmakedefine HAVE_STRERROR_R 1
529/* Define to 1 if you have the stricmp function. */
530#cmakedefine HAVE_STRICMP 1
532/* Define to 1 if you have the <strings.h> header file. */
533#cmakedefine HAVE_STRINGS_H 1
535/* Define to 1 if you have the <stropts.h> header file. */
536#cmakedefine HAVE_STROPTS_H 1
538/* Define to 1 if you have the memrchr function. */
539#cmakedefine HAVE_MEMRCHR 1
541/* if struct sockaddr_storage is defined */
542#cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 1
544/* Define to 1 if you have the timeval struct. */
545#cmakedefine HAVE_STRUCT_TIMEVAL 1
547/* Define to 1 if you have the <sys/eventfd.h> header file. */
548#cmakedefine HAVE_SYS_EVENTFD_H 1
550/* Define to 1 if you have the <sys/filio.h> header file. */
551#cmakedefine HAVE_SYS_FILIO_H 1
553/* Define to 1 if you have the <sys/ioctl.h> header file. */
554#cmakedefine HAVE_SYS_IOCTL_H 1
556/* Define to 1 if you have the <sys/param.h> header file. */
557#cmakedefine HAVE_SYS_PARAM_H 1
559/* Define to 1 if you have the <sys/poll.h> header file. */
560#cmakedefine HAVE_SYS_POLL_H 1
562/* Define to 1 if you have the <sys/resource.h> header file. */
563#cmakedefine HAVE_SYS_RESOURCE_H 1
565/* Define to 1 if you have the <sys/select.h> header file. */
566#cmakedefine HAVE_SYS_SELECT_H 1
568/* Define to 1 if you have the <sys/sockio.h> header file. */
569#cmakedefine HAVE_SYS_SOCKIO_H 1
571/* Define to 1 if you have the <sys/types.h> header file. */
572#cmakedefine HAVE_SYS_TYPES_H 1
574/* Define to 1 if you have the <sys/un.h> header file. */
575#cmakedefine HAVE_SYS_UN_H 1
577/* Define to 1 if you have the <sys/utime.h> header file. */
578#cmakedefine HAVE_SYS_UTIME_H 1
580/* Define to 1 if you have the <termios.h> header file. */
581#cmakedefine HAVE_TERMIOS_H 1
583/* Define to 1 if you have the <termio.h> header file. */
584#cmakedefine HAVE_TERMIO_H 1
586/* Define to 1 if you have the <unistd.h> header file. */
587#cmakedefine HAVE_UNISTD_H 1
589/* Define to 1 if you have the `utime' function. */
590#cmakedefine HAVE_UTIME 1
592/* Define to 1 if you have the `utimes' function. */
593#cmakedefine HAVE_UTIMES 1
595/* Define to 1 if you have the <utime.h> header file. */
596#cmakedefine HAVE_UTIME_H 1
598/* Define this symbol if your OS supports changing the contents of argv */
599#cmakedefine HAVE_WRITABLE_ARGV 1
601/* Define this if time_t is unsigned */
602#cmakedefine HAVE_TIME_T_UNSIGNED 1
604/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
605#cmakedefine NEED_REENTRANT 1
607/* cpu-machine-OS */
608#cmakedefine CURL_OS ${CURL_OS}
610/* Note: SIZEOF_* variables are fetched with CMake through check_type_size().
611 As per CMake documentation on CheckTypeSize, C preprocessor code is
612 generated by CMake into SIZEOF_*_CODE. This is what we use in the
613 following statements.
614 Ref: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html
615 */
617/* The size of `int', as computed by sizeof. */
618${SIZEOF_INT_CODE}
620/* The size of `long', as computed by sizeof. */
621${SIZEOF_LONG_CODE}
623/* The size of `off_t', as computed by sizeof. */
624${SIZEOF_OFF_T_CODE}
626/* The size of `curl_off_t', as computed by sizeof. */
627${SIZEOF_CURL_OFF_T_CODE}
629/* The size of `curl_socket_t', as computed by sizeof. */
630${SIZEOF_CURL_SOCKET_T_CODE}
632/* The size of `size_t', as computed by sizeof. */
633${SIZEOF_SIZE_T_CODE}
635/* The size of `time_t', as computed by sizeof. */
636${SIZEOF_TIME_T_CODE}
638/* Define if you have POSIX pthreads */
639#cmakedefine HAVE_THREADS_POSIX 1
641/* Define if you want to enable c-ares support */
642#cmakedefine USE_ARES 1
644/* Define if you want to enable c-ares DNS lookup */
645#cmakedefine USE_RESOLV_ARES 1
647/* Define if you want to enable threaded DNS lookup */
648#cmakedefine USE_RESOLV_THREADED 1
650/* if GnuTLS is enabled */
651#cmakedefine USE_GNUTLS 1
653/* if SSL session export support is available */
654#cmakedefine USE_SSLS_EXPORT 1
656/* if mbedTLS is enabled */
657#cmakedefine USE_MBEDTLS 1
659/* if mbedTLS <4 has the mbedtls_des_crypt_ecb function. */
660#cmakedefine HAVE_MBEDTLS_DES_CRYPT_ECB 1
662/* if Rustls is enabled */
663#cmakedefine USE_RUSTLS 1
665/* if wolfSSL is enabled */
666#cmakedefine USE_WOLFSSL 1
668/* if wolfSSL has the wolfSSL_get_peer_certificate function. */
669#cmakedefine HAVE_WOLFSSL_GET_PEER_CERTIFICATE 1
671/* if wolfSSL has the wolfSSL_UseALPN function. */
672#cmakedefine HAVE_WOLFSSL_USEALPN 1
674/* if wolfSSL has the wolfSSL_BIO_new function. */
675#cmakedefine HAVE_WOLFSSL_BIO_NEW 1
677/* if wolfSSL has the wolfSSL_BIO_set_shutdown function. */
678#cmakedefine HAVE_WOLFSSL_BIO_SET_SHUTDOWN 1
680/* if wolfSSL has the wc_Des_EcbEncrypt function. */
681#cmakedefine HAVE_WC_DES_ECBENCRYPT 1
683/* if libssh is in use */
684#cmakedefine USE_LIBSSH 1
686/* if libssh2 is in use */
687#cmakedefine USE_LIBSSH2 1
689/* if libpsl is in use */
690#cmakedefine USE_LIBPSL 1
692/* if you want to use OpenLDAP code instead of legacy LDAP implementation */
693#cmakedefine USE_OPENLDAP 1
695/* if OpenSSL is in use */
696#cmakedefine USE_OPENSSL 1
698/* if AmiSSL is in use */
699#cmakedefine USE_AMISSL 1
701/* if GSASL is in use */
702#cmakedefine USE_GSASL 1
704/* if libuv is in use */
705#cmakedefine USE_LIBUV 1
707/* if HTTP/3 proxy support is available */
708#cmakedefine USE_PROXY_HTTP3 1
710/* Define to 1 if you have the <uv.h> header file. */
711#cmakedefine HAVE_UV_H 1
713/* if libbacktrace is in use */
714#cmakedefine USE_BACKTRACE 1
716/* Define to 1 if you do not want the OpenSSL configuration to be loaded
717 automatically */
718#cmakedefine CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG 1
720/* to enable NGHTTP2 */
721#cmakedefine USE_NGHTTP2 1
723/* to enable NGTCP2 */
724#cmakedefine USE_NGTCP2 1
726/* to enable NGHTTP3 */
727#cmakedefine USE_NGHTTP3 1
729/* to enable quiche */
730#cmakedefine USE_QUICHE 1
732/* to enable openssl + ngtcp2 + nghttp3 */
733#cmakedefine OPENSSL_QUIC_API2 1
735/* Define to 1 if you have the quiche_conn_set_qlog_fd function. */
736#cmakedefine HAVE_QUICHE_CONN_SET_QLOG_FD 1
738/* if Unix domain sockets are enabled */
739#cmakedefine USE_UNIX_SOCKETS 1
741/* to enable SSPI support */
742#cmakedefine USE_WINDOWS_SSPI 1
744/* to enable Windows SSL */
745#cmakedefine USE_SCHANNEL 1
747/* if Watt-32 is in use */
748#cmakedefine USE_WATT32 1
750/* enable multiple SSL backends */
751#cmakedefine CURL_WITH_MULTI_SSL 1
753/* Number of bits in a file offset, on hosts where this is settable. */
754#cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}
756/* the signed version of size_t */
757#cmakedefine ssize_t ${ssize_t}
759/* Define to 1 if you have the mach_absolute_time function. */
760#cmakedefine HAVE_MACH_ABSOLUTE_TIME 1
762/* to enable Windows IDN */
763#cmakedefine USE_WIN32_IDN 1
765/* to enable Apple IDN */
766#cmakedefine USE_APPLE_IDN 1
768/* to enable Apple OS-native certificate verification */
769#cmakedefine USE_APPLE_SECTRUST 1
771/* to use Apple fast UDP (SYS_recvmsg_x, SYS_sendmsg_x) */
772#cmakedefine USE_APPLE_FAST_UDP
774/* Define to 1 to query for HTTPSRR when using DoH */
775#cmakedefine USE_HTTPSRR 1
777/* if ECH support is available */
778#cmakedefine USE_ECH 1
780/* Define to 1 if you have the wolfSSL_CTX_GenerateEchConfig function. */
781#cmakedefine HAVE_WOLFSSL_CTX_GENERATEECHCONFIG 1
783/* Define to 1 if you have the SSL_set1_ech_config_list function. */
784#cmakedefine HAVE_SSL_SET1_ECH_CONFIG_LIST 1
786/* Define to 1 if OpenSSL has the DES_ecb_encrypt function. */
787#cmakedefine HAVE_DES_ECB_ENCRYPT 1
Diagnostics4 git calls · 27 ms
CallStatusSizeTime027 ms
discover200152 B4 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=3
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit4 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=4
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=4
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit3 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=20
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=3
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch2005.3 KiB · hit20 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=5457
git.response.cache=HIT
git.response.duration_ms=20
git.fetch.wants=45c5de970dce6298c7d1516e61e43fbb840eb07f
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=5457
git.pkt.payload.max=5436
git.sideband.band1.bytes=5435
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e35e7898e95cd4
Request
99446ec4…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format