master
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#***************************************************************************
25dnl File version for 'aclocal' use. Keep it a single number.
26dnl serial 19
28dnl CURL_CHECK_OPTION_THREADED_RESOLVER
29dnl -------------------------------------------------
30dnl Verify if configure has been invoked with option
31dnl --enable-threaded-resolver or --disable-threaded-resolver, and
32dnl set shell variable want_threaded_resolver as appropriate.
34AC_DEFUN([CURL_CHECK_OPTION_THREADED_RESOLVER], [
35 AC_MSG_CHECKING([whether to enable the threaded resolver])
36 OPT_THRES="default"
37 AC_ARG_ENABLE(threaded_resolver,
38AS_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
39AS_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
40 OPT_THRES=$enableval)
41 case "$OPT_THRES" in
42 no)
43 dnl --disable-threaded-resolver option used
44 want_threaded_resolver="no"
45 ;;
46 yes)
47 dnl --enable-threaded-resolver option used
48 want_threaded_resolver="yes"
49 ;;
50 *)
51 dnl configure option not specified
52 case $host_os in
53 msdos* | amiga*)
54 want_threaded_resolver="no"
55 ;;
56 *)
57 if test "$want_ares" = "yes"; then
58 want_threaded_resolver="no"
59 else
60 want_threaded_resolver="yes"
61 fi
62 ;;
63 esac
64 ;;
65 esac
66 AC_MSG_RESULT([$want_threaded_resolver])
67])
69dnl CURL_CHECK_OPTION_ARES
70dnl -------------------------------------------------
71dnl Verify if configure has been invoked with option
72dnl --enable-ares or --disable-ares, and
73dnl set shell variable want_ares as appropriate.
75AC_DEFUN([CURL_CHECK_OPTION_ARES], [
76 AC_BEFORE([$0],[CURL_CHECK_LIB_ARES])
77 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups])
78 OPT_ARES="default"
79 AC_ARG_ENABLE(ares,
80AS_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups])
81AS_HELP_STRING([--disable-ares],[Disable c-ares for DNS lookups]),
82 OPT_ARES=$enableval)
83 case "$OPT_ARES" in
84 no)
85 dnl --disable-ares option used
86 want_ares="no"
87 ;;
88 default)
89 dnl configure option not specified
90 want_ares="no"
91 ;;
92 *)
93 dnl --enable-ares option used
94 want_ares="yes"
95 if test -n "$enableval" && test "x$enableval" != "xyes"; then
96 want_ares_path="$enableval"
97 fi
98 ;;
99 esac
100 AC_MSG_RESULT([$want_ares])
101])
104dnl CURL_CHECK_OPTION_DEBUG
105dnl -------------------------------------------------
106dnl Verify if configure has been invoked with option
107dnl --enable-debug or --disable-debug, and set shell
108dnl variable want_debug value as appropriate.
110AC_DEFUN([CURL_CHECK_OPTION_DEBUG], [
111 AC_BEFORE([$0],[CURL_CHECK_OPTION_WARNINGS])
112 AC_BEFORE([$0],[XC_CHECK_PROG_CC])
113 AC_MSG_CHECKING([whether to enable curl debug features (for developing curl)])
114 OPT_DEBUG_BUILD="default"
115 AC_ARG_ENABLE(debug,
116AS_HELP_STRING([--enable-debug],[Enable curl debug features (for developing curl)])
117AS_HELP_STRING([--disable-debug],[Disable curl debug features (default)]),
118 OPT_DEBUG_BUILD=$enableval)
119 case "$OPT_DEBUG_BUILD" in
120 no)
121 dnl --disable-debug option used
122 want_debug="no"
123 ;;
124 default)
125 dnl configure option not specified
126 want_debug="no"
127 ;;
128 *)
129 dnl --enable-debug option used
130 want_debug="yes"
131 ;;
132 esac
133 AC_MSG_RESULT([$want_debug])
134])
136dnl CURL_CHECK_OPTION_OPTIMIZE
137dnl -------------------------------------------------
138dnl Verify if configure has been invoked with option
139dnl --enable-optimize or --disable-optimize, and set
140dnl shell variable want_optimize value as appropriate.
142AC_DEFUN([CURL_CHECK_OPTION_OPTIMIZE], [
143 AC_REQUIRE([CURL_CHECK_OPTION_DEBUG])
144 AC_BEFORE([$0],[XC_CHECK_PROG_CC])
145 AC_MSG_CHECKING([whether to enable compiler optimizer])
146 OPT_COMPILER_OPTIMIZE="default"
147 AC_ARG_ENABLE(optimize,
148AS_HELP_STRING([--enable-optimize],[Enable compiler optimizations])
149AS_HELP_STRING([--disable-optimize],[Disable compiler optimizations]),
150 OPT_COMPILER_OPTIMIZE=$enableval)
151 case "$OPT_COMPILER_OPTIMIZE" in
152 no)
153 dnl --disable-optimize option used. We handle this as a request
154 dnl to disable compiler optimizations if possible. If the compiler
155 dnl is known CFLAGS and CPPFLAGS are overridden, otherwise this
156 dnl can not be honored.
157 want_optimize="no"
158 AC_MSG_RESULT([no])
159 ;;
160 default)
161 dnl configure's optimize option not specified. Initially we handle
162 dnl this as a request contrary to configure's setting for
163 dnl --enable-debug. IOW, initially, for debug-enabled builds this
164 dnl is handled as a request to disable optimizations if possible,
165 dnl and for debug-disabled builds this is handled initially as
166 dnl a request to enable optimizations if possible. Finally, if the
167 dnl compiler is known and CFLAGS and CPPFLAGS do not have any
168 dnl optimizer flag the request is honored, in any other case the
169 dnl request can not be honored.
170 dnl IOW, existing optimizer flags defined in CFLAGS or CPPFLAGS
171 dnl always take precedence over any initial assumption.
172 if test "$want_debug" = "yes"; then
173 want_optimize="assume_no"
174 AC_MSG_RESULT([(assumed) no])
175 else
176 want_optimize="assume_yes"
177 AC_MSG_RESULT([(assumed) yes])
178 fi
179 ;;
180 *)
181 dnl --enable-optimize option used. We handle this as a request
182 dnl to enable compiler optimizations if possible. If the compiler
183 dnl is known CFLAGS and CPPFLAGS are overridden, otherwise this
184 dnl can not be honored.
185 want_optimize="yes"
186 AC_MSG_RESULT([yes])
187 ;;
188 esac
189])
192dnl CURL_CHECK_OPTION_SYMBOL_HIDING
193dnl -------------------------------------------------
194dnl Verify if configure has been invoked with option
195dnl --enable-symbol-hiding or --disable-symbol-hiding,
196dnl setting shell variable want_symbol_hiding value.
198AC_DEFUN([CURL_CHECK_OPTION_SYMBOL_HIDING], [
199 AC_BEFORE([$0],[CURL_CHECK_COMPILER_SYMBOL_HIDING])
200 AC_MSG_CHECKING([whether to enable hiding of library internal symbols])
201 OPT_SYMBOL_HIDING="default"
202 AC_ARG_ENABLE(symbol-hiding,
203AS_HELP_STRING([--enable-symbol-hiding],[Enable hiding of library internal symbols])
204AS_HELP_STRING([--disable-symbol-hiding],[Disable hiding of library internal symbols]),
205 OPT_SYMBOL_HIDING=$enableval)
206 case "$OPT_SYMBOL_HIDING" in
207 no)
208 dnl --disable-symbol-hiding option used.
209 dnl This is an indication to not attempt hiding of library internal
210 dnl symbols. Default symbol visibility is used, which normally
211 dnl exposes all library internal symbols.
212 want_symbol_hiding="no"
213 AC_MSG_RESULT([no])
214 ;;
215 default)
216 dnl configure's symbol-hiding option not specified.
217 dnl Handle this as if --enable-symbol-hiding option was given.
218 want_symbol_hiding="yes"
219 AC_MSG_RESULT([yes])
220 ;;
221 *)
222 dnl --enable-symbol-hiding option used.
223 dnl This is an indication to attempt hiding of library internal
224 dnl symbols. This is only supported on some compilers/linkers.
225 want_symbol_hiding="yes"
226 AC_MSG_RESULT([yes])
227 ;;
228 esac
229])
232dnl CURL_CHECK_OPTION_RT
233dnl -------------------------------------------------
234dnl Verify if configure has been invoked with option
235dnl --disable-rt and set shell variable dontwant_rt
236dnl as appropriate.
238AC_DEFUN([CURL_CHECK_OPTION_RT], [
239 AC_BEFORE([$0], [CURL_CHECK_LIB_THREADS])
240 AC_MSG_CHECKING([whether to disable dependency on -lrt])
241 OPT_RT="default"
242 AC_ARG_ENABLE(rt,
243AS_HELP_STRING([--disable-rt],[disable dependency on -lrt]),
244 OPT_RT=$enableval)
245 case "$OPT_RT" in
246 no)
247 dnl --disable-rt used (reverse logic)
248 dontwant_rt="yes"
249 AC_MSG_RESULT([yes])
250 ;;
251 default)
252 dnl configure option not specified (so not disabled)
253 dontwant_rt="no"
254 AC_MSG_RESULT([(assumed no)])
255 ;;
256 *)
257 dnl --enable-rt option used (reverse logic)
258 dontwant_rt="no"
259 AC_MSG_RESULT([no])
260 ;;
261 esac
262])
264dnl CURL_CHECK_OPTION_WARNINGS
265dnl -------------------------------------------------
266dnl Verify if configure has been invoked with option
267dnl --enable-warnings or --disable-warnings, and set
268dnl shell variable want_warnings as appropriate.
270AC_DEFUN([CURL_CHECK_OPTION_WARNINGS], [
271 AC_REQUIRE([CURL_CHECK_OPTION_DEBUG])
272 AC_BEFORE([$0],[CURL_CHECK_OPTION_WERROR])
273 AC_BEFORE([$0],[XC_CHECK_PROG_CC])
274 AC_MSG_CHECKING([whether to enable strict compiler warnings])
275 OPT_COMPILER_WARNINGS="default"
276 AC_ARG_ENABLE(warnings,
277AS_HELP_STRING([--enable-warnings],[Enable strict compiler warnings])
278AS_HELP_STRING([--disable-warnings],[Disable strict compiler warnings]),
279 OPT_COMPILER_WARNINGS=$enableval)
280 case "$OPT_COMPILER_WARNINGS" in
281 no)
282 dnl --disable-warnings option used
283 want_warnings="no"
284 ;;
285 default)
286 dnl configure option not specified, so
287 dnl use same setting as --enable-debug
288 want_warnings="$want_debug"
289 ;;
290 *)
291 dnl --enable-warnings option used
292 want_warnings="yes"
293 ;;
294 esac
295 AC_MSG_RESULT([$want_warnings])
296])
298dnl CURL_CHECK_OPTION_WERROR
299dnl -------------------------------------------------
300dnl Verify if configure has been invoked with option
301dnl --enable-werror or --disable-werror, and set
302dnl shell variable want_werror as appropriate.
304AC_DEFUN([CURL_CHECK_OPTION_WERROR], [
305 AC_BEFORE([$0],[CURL_CHECK_COMPILER])
306 AC_MSG_CHECKING([whether to enable compiler warnings as errors])
307 OPT_COMPILER_WERROR="default"
308 AC_ARG_ENABLE(werror,
309AS_HELP_STRING([--enable-werror],[Enable compiler warnings as errors])
310AS_HELP_STRING([--disable-werror],[Disable compiler warnings as errors]),
311 OPT_COMPILER_WERROR=$enableval)
312 case "$OPT_COMPILER_WERROR" in
313 no)
314 dnl --disable-werror option used
315 want_werror="no"
316 ;;
317 default)
318 dnl configure option not specified
319 want_werror="no"
320 ;;
321 *)
322 dnl --enable-werror option used
323 want_werror="yes"
324 ;;
325 esac
326 AC_MSG_RESULT([$want_werror])
327])
330dnl CURL_CHECK_NONBLOCKING_SOCKET
331dnl -------------------------------------------------
332dnl Check for how to set a socket into non-blocking state.
334AC_DEFUN([CURL_CHECK_NONBLOCKING_SOCKET], [
335 AC_REQUIRE([CURL_CHECK_FUNC_FCNTL])
336 AC_REQUIRE([CURL_CHECK_FUNC_IOCTLSOCKET])
337 AC_REQUIRE([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL])
339 tst_method="unknown"
341 AC_MSG_CHECKING([how to set a socket into non-blocking mode])
342 if test "$curl_cv_func_fcntl_o_nonblock" = "yes"; then
343 tst_method="fcntl O_NONBLOCK"
344 elif test "$curl_cv_func_ioctl_fionbio" = "yes"; then
345 tst_method="ioctl FIONBIO"
346 elif test "$curl_cv_func_ioctlsocket_fionbio" = "yes"; then
347 tst_method="ioctlsocket FIONBIO"
348 elif test "$curl_cv_func_ioctlsocket_camel_fionbio" = "yes"; then
349 tst_method="IoctlSocket FIONBIO"
350 elif test "$curl_cv_func_setsockopt_so_nonblock" = "yes"; then
351 tst_method="setsockopt SO_NONBLOCK"
352 fi
353 AC_MSG_RESULT([$tst_method])
354 if test "$tst_method" = "unknown"; then
355 AC_MSG_WARN([cannot determine non-blocking socket method.])
356 fi
357])
360dnl CURL_CONFIGURE_SYMBOL_HIDING
361dnl -------------------------------------------------
362dnl Depending on --enable-symbol-hiding or --disable-symbol-hiding
363dnl configure option, and compiler capability to actually honor such
364dnl option, this modifies compiler flags as appropriate and also
365dnl provides needed definitions for configuration and Makefile.am files.
366dnl This macro should not be used until all compilation tests have
367dnl been done to prevent interferences on other tests.
369AC_DEFUN([CURL_CONFIGURE_SYMBOL_HIDING], [
370 AC_MSG_CHECKING([whether hiding of library internal symbols does actually happen])
371 CFLAG_CURL_SYMBOL_HIDING=""
372 doing_symbol_hiding="no"
373 if test "$want_symbol_hiding" = "yes" &&
374 test "$supports_symbol_hiding" = "yes"; then
375 doing_symbol_hiding="yes"
376 CFLAG_CURL_SYMBOL_HIDING="$symbol_hiding_CFLAGS"
377 AC_DEFINE_UNQUOTED(CURL_EXTERN_SYMBOL, $symbol_hiding_EXTERN,
378 [Definition to make a library symbol externally visible.])
379 AC_MSG_RESULT([yes])
380 else
381 AC_MSG_RESULT([no])
382 fi
383 AM_CONDITIONAL(DOING_CURL_SYMBOL_HIDING, test "$doing_symbol_hiding" = "yes")
384 AC_SUBST(CFLAG_CURL_SYMBOL_HIDING)
385])
388dnl CURL_CHECK_LIB_ARES
389dnl -------------------------------------------------
390dnl When c-ares library support has been requested, performs necessary checks
391dnl and adjustments needed to enable support of this library.
393AC_DEFUN([CURL_CHECK_LIB_ARES], [
395 if test "$want_ares" = "yes"; then
396 dnl c-ares library support has been requested
397 clean_CPPFLAGS="$CPPFLAGS"
398 clean_LDFLAGS="$LDFLAGS"
399 clean_LDFLAGSPC="$LDFLAGSPC"
400 clean_LIBS="$LIBS"
401 configure_runpath=`pwd`
402 if test -n "$want_ares_path"; then
403 dnl c-ares library path has been specified
404 ARES_PCDIR="$want_ares_path/lib/pkgconfig"
405 CURL_CHECK_PKGCONFIG(libcares, [$ARES_PCDIR])
406 if test "$PKGCONFIG" != "no"; then
407 ares_LIBS=`CURL_EXPORT_PCDIR([$ARES_PCDIR])
408 $PKGCONFIG --libs-only-l libcares`
409 ares_LDFLAGS=`CURL_EXPORT_PCDIR([$ARES_PCDIR])
410 $PKGCONFIG --libs-only-L libcares`
411 ares_CPPFLAGS=`CURL_EXPORT_PCDIR([$ARES_PCDIR])
412 $PKGCONFIG --cflags-only-I libcares`
413 AC_MSG_NOTICE([pkg-config: ares LIBS: "$ares_LIBS"])
414 AC_MSG_NOTICE([pkg-config: ares LDFLAGS: "$ares_LDFLAGS"])
415 AC_MSG_NOTICE([pkg-config: ares CPPFLAGS: "$ares_CPPFLAGS"])
416 else
417 dnl ... path without pkg-config
418 ares_CPPFLAGS="-I$want_ares_path/include"
419 ares_LDFLAGS="-L$want_ares_path/lib"
420 ares_LIBS="-lcares"
421 fi
422 else
423 dnl c-ares path not specified, use defaults
424 CURL_CHECK_PKGCONFIG(libcares)
425 if test "$PKGCONFIG" != "no"; then
426 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
427 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
428 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
429 AC_MSG_NOTICE([pkg-config: ares_LIBS: "$ares_LIBS"])
430 AC_MSG_NOTICE([pkg-config: ares_LDFLAGS: "$ares_LDFLAGS"])
431 AC_MSG_NOTICE([pkg-config: ares_CPPFLAGS: "$ares_CPPFLAGS"])
432 else
433 ares_CPPFLAGS=""
434 ares_LDFLAGS=""
435 ares_LIBS="-lcares"
436 fi
437 fi
439 CPPFLAGS="$clean_CPPFLAGS $ares_CPPFLAGS"
440 LDFLAGS="$clean_LDFLAGS $ares_LDFLAGS"
441 LDFLAGSPC="$clean_LDFLAGSPC $ares_LDFLAGS"
442 LIBS="$ares_LIBS $clean_LIBS"
444 dnl check if c-ares new enough, 1.16.0 or newer
445 AC_CHECK_FUNC([ares_getaddrinfo],
446 [
447 ],[
448 AC_MSG_ERROR([c-ares library is defective or too old])
449 dnl restore initial settings
450 CPPFLAGS="$clean_CPPFLAGS"
451 LDFLAGS="$clean_LDFLAGS"
452 LDFLAGSPC="$clean_LDFLAGSPC"
453 LIBS="$clean_LIBS"
454 dnl prevent usage
455 want_ares="no"
456 ])
458 if test "$want_ares" = "yes"; then
459 dnl finally c-ares is used
460 AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support])
461 USE_ARES=1
462 LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE libcares"
463 curl_res_msg="c-ares"
464 fi
465 fi
466])
468dnl CURL_CHECK_OPTION_HTTPSRR
469dnl -----------------------------------------------------
470dnl Verify whether configure has been invoked with option
471dnl --enable-httpsrr or --disable-httpsrr, and set
472dnl shell variable want_httpsrr as appropriate.
474AC_DEFUN([CURL_CHECK_OPTION_HTTPSRR], [
475 AC_MSG_CHECKING([whether to enable HTTPSRR support])
476 OPT_HTTPSRR="default"
477 AC_ARG_ENABLE(httpsrr,
478AS_HELP_STRING([--enable-httpsrr],[Enable HTTPSRR support (experimental)])
479AS_HELP_STRING([--disable-httpsrr],[Disable HTTPSRR support (experimental)]),
480 OPT_HTTPSRR=$enableval)
481 case "$OPT_HTTPSRR" in
482 no)
483 dnl --disable-httpsrr option used
484 want_httpsrr="no"
485 curl_httpsrr_msg="no (--enable-httpsrr)"
486 AC_MSG_RESULT([no])
487 ;;
488 default)
489 dnl configure option not specified
490 want_httpsrr="no"
491 curl_httpsrr_msg="no (--enable-httpsrr)"
492 AC_MSG_RESULT([no])
493 ;;
494 *)
495 dnl --enable-httpsrr option used
496 want_httpsrr="yes"
497 curl_httpsrr_msg="enabled"
498 AC_MSG_RESULT([yes])
499 ;;
500 esac
501])
503dnl CURL_CHECK_OPTION_ECH
504dnl -----------------------------------------------------
505dnl Verify whether configure has been invoked with option
506dnl --enable-ech or --disable-ech, and set
507dnl shell variable want_ech as appropriate.
509AC_DEFUN([CURL_CHECK_OPTION_ECH], [
510 AC_MSG_CHECKING([whether to enable ECH support])
511 OPT_ECH="default"
512 AC_ARG_ENABLE(ech,
513AS_HELP_STRING([--enable-ech],[Enable ECH support (experimental)])
514AS_HELP_STRING([--disable-ech],[Disable ECH support (experimental)]),
515 OPT_ECH=$enableval)
516 case "$OPT_ECH" in
517 no)
518 dnl --disable-ech option used
519 want_ech="no"
520 curl_ech_msg="no (--enable-ech)"
521 AC_MSG_RESULT([no])
522 ;;
523 default)
524 dnl configure option not specified
525 want_ech="no"
526 curl_ech_msg="no (--enable-ech)"
527 AC_MSG_RESULT([no])
528 ;;
529 *)
530 dnl --enable-ech option used
531 want_ech="yes"
532 curl_ech_msg="enabled (--disable-ech)"
533 AC_MSG_RESULT([yes])
534 ;;
535 esac
536])
537])
539dnl CURL_CHECK_OPTION_SSLS_EXPORT
540dnl -----------------------------------------------------
541dnl Verify whether configure has been invoked with option
542dnl --enable-ssl-session-export or --disable-ssl-session-export, and set
543dnl shell variable want_ech as appropriate.
545AC_DEFUN([CURL_CHECK_OPTION_SSLS_EXPORT], [
546 AC_MSG_CHECKING([whether to enable SSL session export support])
547 OPT_SSLS_EXPORT="default"
548 AC_ARG_ENABLE(ssls-export,
549AS_HELP_STRING([--enable-ssls-export],
550 [Enable SSL session export support (experimental)])
551AS_HELP_STRING([--disable-ssls-export],
552 [Disable SSL session export support (experimental)]),
553 OPT_SSLS_EXPORT=$enableval)
554 case "$OPT_SSLS_EXPORT" in
555 no)
556 dnl --disable-ssls-export option used
557 want_ssls_export="no"
558 curl_ssls_export_msg="no (--enable-ssls-export)"
559 AC_MSG_RESULT([no])
560 ;;
561 default)
562 dnl configure option not specified
563 want_ssls_export="no"
564 curl_ssls_export_msg="no (--enable-ssls-export)"
565 AC_MSG_RESULT([no])
566 ;;
567 *)
568 dnl --enable-ssls-export option used
569 want_ssls_export="yes"
570 curl_ssls_export_msg="enabled (--disable-ssls-export)"
571 AC_MSG_RESULT([yes])
572 ;;
573 esac
574])
575])
Diagnostics4 git calls · 27 ms
CallStatusSizeTime027 ms
discover200152 B3 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 · hit3 ms
git.upload-pack ls-refs http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=ls-refs git.upstream.dur_ms=3 git.response.bytes=149 git.response.cache=HIT git.response.duration_ms=3 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=21 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=86Open pack map
fetch2004.4 KiB · hit21 ms
git.upload-pack fetch http.response.status_code=200 git.response.bytes=4544 git.response.cache=HIT git.response.duration_ms=21 git.fetch.wants=133ee219cf3261652ad20326696bc440a2f56ed0 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=4544 git.pkt.payload.max=4523 git.sideband.band1.bytes=4522 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
- a5e3830ed81e231f
- Request
- 38a04f8d…
- Protocol
- v2 · sha1
- Agent
- gitty/1.0
- Filter
- advertised
- Fetch
- shallow filter sideband-all
- Capabilities
- agent ls-refs fetch object-format