Artifactspublic-v0

curl

master
ply4 git calls29 ms288 KiB3 cachedprotocol v2
112 lines6.3 KiBRaw
1#ifndef CURLINC_CCSIDCURL_H
2#define CURLINC_CCSIDCURL_H
3/***************************************************************************
4 * _ _ ____ _
5 * Project ___| | | | _ \| |
6 * / __| | | | |_) | |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
9 *
10 * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
11 *
12 * This software is licensed as described in the file COPYING, which
13 * you should have received as part of this distribution. The terms
14 * are also available at https://curl.se/docs/copyright.html.
15 *
16 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 * copies of the Software, and permit persons to whom the Software is
18 * furnished to do so, under the terms of the COPYING file.
19 *
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
22 *
23 * SPDX-License-Identifier: curl
24 *
25 *
26 ***************************************************************************/
27#include "curl.h"
28#include "easy.h"
29#include "multi.h"
31CURL_EXTERN char *curl_version_ccsid(unsigned int ccsid);
32CURL_EXTERN char *curl_easy_escape_ccsid(CURL *handle,
33 const char *string, int length,
34 unsigned int sccsid,
35 unsigned int dccsid);
36CURL_EXTERN char *curl_easy_unescape_ccsid(CURL *handle, const char *string,
37 int length, int *outlength,
38 unsigned int sccsid,
39 unsigned int dccsid);
40CURL_EXTERN struct curl_slist *curl_slist_append_ccsid(struct curl_slist *list,
41 const char *data,
42 unsigned int ccsid);
43CURL_EXTERN time_t curl_getdate_ccsid(const char *p, const time_t *unused,
44 unsigned int ccsid);
45CURL_EXTERN curl_version_info_data *curl_version_info_ccsid(
46 CURLversion stamp,
47 unsigned int ccsid);
48CURL_EXTERN const char *curl_easy_strerror_ccsid(CURLcode error,
49 unsigned int ccsid);
50CURL_EXTERN const char *curl_share_strerror_ccsid(CURLSHcode error,
51 unsigned int ccsid);
52CURL_EXTERN const char *curl_multi_strerror_ccsid(CURLMcode error,
53 unsigned int ccsid);
54CURL_EXTERN CURLcode curl_easy_getinfo_ccsid(CURL *curl, CURLINFO info, ...);
55CURL_EXTERN CURLFORMcode curl_formadd_ccsid(struct curl_httppost **httppost,
56 struct curl_httppost **last_post,
57 ...);
58CURL_EXTERN char *curl_form_long_value(long value);
59CURL_EXTERN int curl_formget_ccsid(struct curl_httppost *form, void *arg,
60 curl_formget_callback append,
61 unsigned int ccsid);
62CURL_EXTERN CURLcode curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...);
63CURL_EXTERN void curl_certinfo_free_all(struct curl_certinfo *info);
64CURL_EXTERN char *curl_pushheader_bynum_cssid(struct curl_pushheaders *h,
65 size_t num, unsigned int ccsid);
66CURL_EXTERN char *curl_pushheader_byname_ccsid(struct curl_pushheaders *h,
67 const char *header,
68 unsigned int ccsidin,
69 unsigned int ccsidout);
70CURL_EXTERN CURLcode curl_mime_name_ccsid(curl_mimepart *part,
71 const char *name,
72 unsigned int ccsid);
73CURL_EXTERN CURLcode curl_mime_filename_ccsid(curl_mimepart *part,
74 const char *filename,
75 unsigned int ccsid);
76CURL_EXTERN CURLcode curl_mime_type_ccsid(curl_mimepart *part,
77 const char *mimetype,
78 unsigned int ccsid);
79CURL_EXTERN CURLcode curl_mime_encoder_ccsid(curl_mimepart *part,
80 const char *encoding,
81 unsigned int ccsid);
82CURL_EXTERN CURLcode curl_mime_filedata_ccsid(curl_mimepart *part,
83 const char *filename,
84 unsigned int ccsid);
85CURL_EXTERN CURLcode curl_mime_data_ccsid(curl_mimepart *part,
86 const char *data, size_t datasize,
87 unsigned int ccsid);
88CURL_EXTERN CURLUcode curl_url_get_ccsid(CURLU *handle, CURLUPart what,
89 char **part, unsigned int flags,
90 unsigned int ccsid);
91CURL_EXTERN CURLUcode curl_url_set_ccsid(CURLU *handle, CURLUPart what,
92 const char *part, unsigned int flags,
93 unsigned int ccsid);
94CURL_EXTERN const struct curl_easyoption *curl_easy_option_by_name_ccsid(
95 const char *name, unsigned int ccsid);
96CURL_EXTERN const char *curl_easy_option_get_name_ccsid(
97 const struct curl_easyoption *option, unsigned int ccsid);
98CURL_EXTERN const char *curl_url_strerror_ccsid(CURLUcode error,
99 unsigned int ccsid);
100CURL_EXTERN CURLHcode curl_easy_header_ccsid(CURL *easy, const char *name,
101 size_t index, unsigned int origin,
102 int request,
103 struct curl_header **hout,
104 unsigned int ccsid);
105CURL_EXTERN const char *curl_from_ccsid(const char *s, unsigned int ccsid);
106CURL_EXTERN const char *curl_to_ccsid(const char *s, unsigned int ccsid);
107CURL_EXTERN CURLcode curl_easy_setopt_RPGnum_(CURL *easy,
108 CURLoption tag, curl_off_t arg);
109CURL_EXTERN CURLcode curl_multi_setopt_RPGnum_(CURLM *multi, CURLMoption tag,
110 curl_off_t arg);
112#endif
Diagnostics4 git calls · 29 ms
CallStatusSizeTime029 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=2
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 · hit2 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=2
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 · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=24
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=2
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
fetch2001.3 KiB · hit24 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=1357
git.response.cache=HIT
git.response.duration_ms=24
git.fetch.wants=43312fd8adc2662b5c3ae18781164bf521307619
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=1357
git.pkt.payload.max=1336
git.sideband.band1.bytes=1335
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
a5e30bd17cdfee28
Request
05846a44…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format