Curl 7 76 0

Author: d | 2025-04-23

★★★★☆ (4.6 / 1845 reviews)

goanimate 2016

76 likes, 0 comments - satish.amge.7 on J

incognito on opera gx

Mediainfo 0 7 76 Download Free

目录 文章目录 目录 编译安装 YUM 升级 curl 常用选项 编译安装安装编译环境:yum -y groupinstall "Development Tools"yum -y install libev libev-devel zlib zlib-devel openssl openssl-devel git 1 2 安装 OpenSSL:mkdir /var/tmpcd /var/tmpwget -zxf openssl-1.0.2.tar.gzcd openssl-1.0.2mkdir /opt/openssl./config --prefix=/opt/opensslmakemake testmake install 1 2 3 4 5 6 7 8 9 10 安装 nghttp2:git clone nghttp2autoreconf -iautomakeautoconf./configuremakemake installecho '/usr/local/lib' > /etc/ld.so.conf.d/custom-libs.confldconfigldconfig -p| grep libnghttp2 1 2 3 4 5 6 7 8 9 10 11 安装 curl:cd /var/tmpgit clone curl./buildconf./configure --with-ssl=/opt/openssl --with-nghttp2=/usr/local --disable-file --without-pic --disable-sharedmake 1 2 3 4 5 6 验证:$ /var/tmp/curl/src/curl --versioncurl 7.70.0-DEV (x86_64-unknown-linux-gnu) libcurl/7.70.0-DEV OpenSSL/1.0.2o nghttp2/1.41.0-DEVRelease-Date: [unreleased]Protocols: dict ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftpFeatures: AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets 1 2 3 4 5 注意:curl 从 7.52.0 版本开始也已经支持 TLS 1.3 了,curl 7.61.0 及以上在 TLS 握手过程中协商 TLS 版本时,curl 默认使用 TLS 1.3,但也取决于 curl 正在使用的 TLS 库及其版本,例如:要求 OpenSSL 1.1.1 版本以上。YUM 升级安装新版 libcurl 的 yum 源:rpm -ivh 1 升级:yum upgrade libcurl 1 升级完成后可以卸载此 yum 源:rpm -e city-fan.org-release 1 curl 常用选项语法格式: curl [options] [URL...]常用选项如下所示: -A/--user-agent : 设置用户代理发送给服务器 -e/--referer : 来源网址 --cacert : CA 证书(SSL) -k/--insecure: 允许忽略证书进行 SSL 连接 --compressed: 要求返回是压缩的格式 -H/--header : 自定义首部信息传递给服务器 -i: 显示页面内容,包括报文首部信息 -I/--head: 只显示响应报文首部信息 -D/--dump-header : 将 URL 的 header 信息存放在指定文件中 --basic: 使用 HTTP 基本认证 -u/--user : 设置服务器的用户和密码 -L: 如果有 3xx 响应码,重新发请求到新位置 -O: 使用 URL 中默认的文件名保存文件到本地 -o : 将网络文件保存为指定的文件中 --limit-rate : 设置传输速度 -0/--http1.0: 数字 0,使用 HTTP 1.0 -v/--verbose: 更详细 -C: 选项可对文件使用断点续传功能 -c/--cookie-jar : 将 URL 中 Cookie 存放在指定文件中 -x/--proxy : 指定代理服务器地址 -X/--request : 向服务器发送指定请求方法 -U/--proxy-user : 代理服务器用户和密码 -T: 选项可将指定的本地文件上传到 FTP 服务器上 --data/-d: 方式指定使用 POST 方式传递数据 -b name=data: 从服务器响应 set-cookie 得到值,返回给服务器 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 文章来源: is-cloud.blog.csdn.net,作者:范桂飓,版权归原作者所有,如需转载,请联系作者。原文链接:is-cloud.blog.csdn.net/article/details/105695093 【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: [email protected]

visual color picker

Mediainfo 0 7 76 Download Free - software

9 AM 58° Sunny Feels Like 58° East 5 - 11 mph 1 Low SPF: no Rain 0% 0 in Humidity 46% Dew Point 37 °F Clouds 0% Feels Like 58 °F Visibility 22 mi Wind - Average 5 mph Pressure 1019 hPa Fog No Wind - Gusts 11 mph Snowline 10499 ft 10 AM 62° Sunny Feels Like 62° East 6 - 13 mph 2 Low SPF: no Rain 0% 0 in Humidity 40% Dew Point 38 °F Clouds 0% Feels Like 62 °F Visibility 25 mi Wind - Average 6 mph Pressure 1020 hPa Fog No Wind - Gusts 13 mph Snowline 10827 ft 11 AM 66° Sunny Feels Like 66° East 7 - 16 mph 3 Moderate SPF: 6-10 Rain 0% 0 in Humidity 33% Dew Point 36 °F Clouds 0% Feels Like 66 °F Visibility 25 mi Wind - Average 7 mph Pressure 1020 hPa Fog No Wind - Gusts 16 mph Snowline 10827 ft 12 PM 70° Sunny Feels Like 70° East 5 - 16 mph 5 Moderate SPF: 6-10 Rain 0% 0 in Humidity 27% Dew Point 34 °F Clouds 0% Feels Like 70 °F Visibility 25 mi Wind - Average 5 mph Pressure 1020 hPa Fog No Wind - Gusts 16 mph Snowline 10827 ft 1 PM 72° Sunny Feels Like 76° East 4 - 16 mph 6 High SPF: 15-25 Rain 0% 0 in Humidity 24% Dew Point 33 °F Clouds 0% Feels Like 76 °F Visibility 25 mi Wind - Average 4 mph Pressure 1019 hPa Fog No Wind - Gusts 16 mph Snowline 10827 ft 2 PM 74° Sunny Feels Like 76° Southeast 3 - 12 mph 6 High SPF: 15-25 2 PM 74° Sunny Feels Like 76° Southeast 3 - 12 mph 6 High SPF: 15-25 Rain 0% 0 in Humidity 22% Dew Point 33 °F Clouds 0% Feels Like 76 °F Visibility 25 mi Wind - Average 3 mph Pressure 1018 hPa Fog No Wind - Gusts 12 mph Snowline 10827 ft 3 PM 76° Sunny Feels Like 76° Southeast 2 - 11 mph 5 Moderate SPF: 6-10

Mediainfo 0 7 76 Download Free - truepup

"size": 4, "shape": [ 48, 128 ], "total_size": 6144}*/// for convenience, these are extracted from metadata:data.dtype// "data.shape// (2) [48, 128]// data are loaded into a matching TypedArray in javascript if one exists, otherwise raw bytes are returned (there is no Float16Array, for instance). In this case the matching type is Int32Arraydata.value/*Int32Array(6144) [0, 0, 0, 2, 2, 2, 3, 1, 1, 7, 3, 5, 7, 8, 9, 21, 43, 38, 47, 8, 8, 7, 3, 6, 1, 7, 3, 7, 47, 94, 91, 99, 76, 81, 86, 112, 98, 103, 85, 100, 83, 122, 111, 123, 136, 129, 134, 164, 130, 164, 176, 191, 200, 211, 237, 260, 304, 198, 32, 9, 5, 2, 6, 5, 8, 6, 25, 219, 341, 275, 69, 11, 4, 5, 5, 45, 151, 154, 141, 146, 108, 107, 105, 113, 99, 101, 96, 84, 86, 77, 78, 107, 73, 80, 105, 65, 75, 79, 62, 31, …]*/// take a slice from 0:10 on axis 0, keeping all of axis 1:// (slicing is done through libhdf5 instead of in the javascript library - should be very efficient)data.slice([[0,10],[]])/*Int32Array(1280) [0, 0, 0, 2, 2, 2, 3, 1, 1, 7, 3, 5, 7, 8, 9, 21, 43, 38, 47, 8, 8, 7, 3, 6, 1, 7, 3, 7, 47, 94, 91, 99, 76, 81, 86, 112, 98, 103, 85, 100, 83, 122, 111, 123, 136, 129, 134, 164, 130, 164, 176, 191, 200, 211, 237, 260, 304, 198, 32, 9, 5, 2, 6, 5, 8, 6, 25, 219, 341, 275, 69, 11, 4, 5, 5, 45, 151, 154, 141, 146, 108, 107, 105, 113, 99, 101, 96, 84, 86, 77, 78, 107, 73, 80, 105, 65, 75, 79, 62, 31, …]*/// Convert to nested Array, with JSON-compatible elements:data.to_array()/*[ [ 0, 0, 0, 2, 2, 2, 3, 1, 1, 7, 3, 5, 7, 8, 9, 21, 43, 38, 47, 8, 8, 7, 3, 6, 1, 7, 3, 7, 47, 94, 91, 99, 76, 81, 86, 112, 98, 103, 85, 100, 83, 122, 111, 123, 136, 129, 134, 164, 130, 164, 176, 191, 200, 211, 237, 260, 304, 198, 32, 9, 5, 2, 6, 5, 8, 6, 25, 219, 341, 275, 69, 11, 4, 5, 5, 45, 151, 154, 141, 146, 108, 107, 105, 113, 99, 101, 96, 84, 86, 77, 78, 107, 73, 80, 105, 65, 75, 79, 62, 31, ... 28 more items ], [ 0, 0, 2, 2,. 76 likes, 0 comments - satish.amge.7 on J Blitz Chess 1 point 8 matches. Checkers 0 points 7 matches Backgammon 0 points 7 matches Curling 0 points 7 matches

time_connect is 0 when error on 7.88.0/7.88.1 Issue curl/curl

Rain 0% 0 in Humidity 21% Dew Point 33 °F Clouds 2% Feels Like 76 °F Visibility 25 mi Wind - Average 2 mph Pressure 1016 hPa Fog No Wind - Gusts 11 mph Snowline 10827 ft 4 PM 76° Sunny Feels Like 77° West 1 - 12 mph 3 Moderate SPF: 6-10 Rain 0% 0 in Humidity 21% Dew Point 34 °F Clouds 4% Feels Like 77 °F Visibility 25 mi Wind - Average 1 mph Pressure 1015 hPa Fog No Wind - Gusts 12 mph Snowline 11155 ft 5 PM 76° Sunny Feels Like 77° West 4 - 9 mph 2 Low SPF: no 5 PM 76° Sunny Feels Like 77° West 4 - 9 mph 2 Low SPF: no Rain 0% 0 in Humidity 21% Dew Point 33 °F Clouds 1% Feels Like 77 °F Visibility 25 mi Wind - Average 4 mph Pressure 1015 hPa Fog No Wind - Gusts 9 mph Snowline 11483 ft 6 PM 75° Sunny Feels Like 76° Southwest 3 - 10 mph 1 Low SPF: no Rain 0% 0 in Humidity 23% Dew Point 35 °F Clouds 0% Feels Like 76 °F Visibility 25 mi Wind - Average 3 mph Pressure 1015 hPa Fog No Wind - Gusts 10 mph Snowline 11483 ft 7 PM 71° Sunny Feels Like 71° South 2 - 10 mph 0 Low SPF: no Rain 0% 0 in Humidity 36% Dew Point 43 °F Clouds 3% Feels Like 71 °F Visibility 25 mi Wind - Average 2 mph Pressure 1015 hPa Fog No Wind - Gusts 10 mph Snowline 11483 ft 8 PM 68° Clear Feels Like 68° South 2 - 4 mph 0 Low SPF: no 8 PM 68° Clear Feels Like 68° South 2 - 4 mph 0 Low SPF: no Rain 0% 0 in Humidity 31% Dew Point 36 °F Clouds 7% Feels Like 68 °F Visibility 25 mi Wind - Average 2 mph Pressure 1015 hPa Fog No Wind - Gusts 4 mph Snowline 11811 ft 9 PM 66° Clear Feels Like 66° South 3 - 4 mph 0 Low SPF: no

curl 56 SSL_read error erno 0 with openssl = 3.2 curl 8.7.1

50) Darksalmon#E9967Acmyk(0, 36, 48, 9) Turquoise#40E0D0cmyk(71, 0, 7, 12) Mediumblue#0000CDcmyk(100, 100, 0, 20) Powderblue#B0E0E6cmyk(23, 3, 0, 10) Mediumpurple#9370DBcmyk(33, 49, 0, 14) Blue#0000FFcmyk(100, 100, 0, 0) Firebrick#B22222cmyk(0, 81, 81, 30) Palegreen#98FB98cmyk(39, 0, 39, 2) Dodgerblue#1E90FFcmyk(88, 44, 0, 0) Indigo#4B0082cmyk(42, 100, 0, 49) Salmon#FA8072cmyk(0, 49, 54, 2) Cyan#00FFFFcmyk(100, 0, 0, 0) Darkviolet#9400D3cmyk(30, 100, 0, 17) Palevioletred#DB7093cmyk(0, 49, 33, 14) Darkslateblue#483D8Bcmyk(48, 56, 0, 45) Limegreen#32CD32cmyk(76, 0, 76, 20) Deeppink#FF1493cmyk(0, 92, 42, 0) Darkseagreen#8FBC8Fcmyk(24, 0, 24, 26) Magenta / fuchsia#FF00FFcmyk(0, 100, 0, 0) Midnightblue#191970cmyk(78, 78, 0, 56) Blanchedalmond#FFEBCDrgb(255, 235, 205) Darkmagenta#8B008Bcmyk(0, 8, 20, 0) Lawngreen#7CFC00cmyk(51, 0, 100, 1) Darkorchid#9932CCcmyk(25, 75, 0, 20) Darkblue#00008Bcmyk(100, 100, 0, 45) Royalblue#4169E1cmyk(71, 53, 0, 12) Mediumorchid#BA55D3cmyk(12, 60, 0, 17) Purple#800080cmyk(0, 100, 0, 50) Lightsalmon#FFA07Acmyk(0, 37, 52, 0) Beige#F5F5DCcmyk(0, 0, 10, 4) Violet#EE82EEcmyk(0, 45, 0, 7) Orchid#DA70D6cmyk(0, 49, 2, 15) Lightyellow#FFFFE0cmyk(0, 0, 12, 0) Saddlebrown#8B4513cmyk(0, 50, 86, 45) Rosybrown#BC8F8Fcmyk(0, 24, 24, 26) Peachpuff#FFDAB9cmyk(0, 15, 27, 0) Hotpink#FF69B4cmyk(0, 59, 29, 0) Pink#FFC0CBcmyk(0, 25, 20, 0) Antiquewhite#FAEBD7cmyk(0, 6, 14, 2) Wheat#F5DEB3cmyk(0, 9, 27, 4) Slateblue#6A5ACDcmyk(48, 56, 0, 20) Forestgreen#228B22cmyk(76, 0, 76, 45) Lemonchiffon#FFFACDcmyk(0, 2, 20, 0) Lightpink#FFB6C1cmyk(0, 29, 24, 0) Papayawhip#FFEFD5cmyk(0, 6, 16, 0) Moccasin#FFE4B5cmyk(0, 11, 29, 0) Chocolate#D2691Ecmyk(0, 50, 86, 18) Thistle#D8BFD8cmyk(0, 12, 0, 15) Peru#CD853Fcmyk(0, 35, 69, 20) Sandybrown#F4A460cmyk(0, 33, 61, 4) Cornsilk#FFF8DCcmyk(0, 3, 14, 0) Mediumvioletred#C71585cmyk(0, 89, 33, 22) Bisque#FFE4C4cmyk(0, 11, 23, 0) Tan#D2B48Ccmyk(0, 14, 33, 18) Silver#C0C0C0cmyk(0, 0, 0, 25) Lightskyblue#87CEFAcmyk(46, 18, 0, 2) Ivory#FFFFF0cmyk(0, 0, 6, 0) Mediumslateblue#7B68EEcmyk(48, 56, 0, 7) Whitesmoke#F5F5F5cmyk(0, 0, 0, 4) Lightgray / lightgrey#D3D3D3cmyk(0, 0, 0, 17) Lavenderblush#FFF0F5cmyk(0, 6, 4, 0) Linen#FAF0E6cmyk(0, 4, 8, 2) Seashell#FFF5EEcmyk(0, 4, 7, 0) Gainsboro#DCDCDCcmyk(0, 0, 0, 14) Lightgoldenrodyellow#FAFAD2cmyk(0, 0, 16, 2) Slategray#708090cmyk(22, 11, 0, 44) Sienna#A0522Dcmyk(0, 49, 72, 37) Darkgray / darkgrey#A9A9A9cmyk(0, 0, 0, 34) Burlywood#DEB887cmyk(0, 17, 39, 13) Mistyrose#FFE4E1cmyk(0, 11, 12, 0) Gray / grey#808080cmyk(0, 0, 0, 50) Dimgray / dimgrey#696969cmyk(0, 0, 0, 59) Palegoldenrod#EEE8AAcmyk(0, 3, 29, 7) Aliceblue#F0F8FFcmyk(6, 3, 0, 0) Navajowhite#FFDEADcmyk(0, 13, 32, 0) Coral#FF7F50cmyk(0, 50, 69, 0) Snow#FFFAFAcmyk(0, 2, 2, 0) Mintcream#F5FFFAcmyk(4, 0, 2, 0) Khaki#F0E68Ccmyk(0, 4, 42, 6) Yellowgreen#9ACD32cmyk(25, 0, 76, 20) Oldlace#FDF5E6cmyk(0, 3, 9, 1) Ghostwhite#F8F8FFcmyk(3, 3, 0, 0) Floralwhite#FFFAF0cmyk(0, 2, 6, 0) Lavender#E6E6FAcmyk(8, 8, 0, 2) White#FFFFFFcmyk(0, 0, 0, 0)

Download.file with method curl downloads 0 bytes

`json:"task_id"` Image string `json:"image"` ReturnType uint `json:"return_type"` Type string `json:"type"` Progress uint `json:"progress"` //不确定有没有,需要查询看看 State int `json:"state"` TimeElapsed float64 `json:"time_elapsed"` } `json:"data"`}func main() { // JSON data is passed and received here, and code modification is required. jsonData := `{ "status": 200, "message": "Success", "data": { "task_id": "123456", "image": "image_data", } }` // Parse JSON data into VisualScaleResponse struct var response VisualScaleResponse err := json.Unmarshal([]byte(jsonData), &response) if err != nil { fmt.Println("Error parsing JSON:", err) return } // Query the relevant content in the database based on the taskID and associate it with the image below. fmt.Println("Image:", response.Data.TaskId) // Print the 'image' field fmt.Println("Image:", response.Data.Image)} #Create a taskcurl -k ' \-H 'X-API-KEY: YOUR_API_KEY' \-F 'sync=0' \-F 'image_file=@/path/to/image.jpg'#Get the cutout result#Polling requests using the following methods 1. The polling interval is set to 1 second, 2. The polling time does not exceed 30 secondscurl -k ' \-H 'X-API-KEY: YOUR_API_KEY' \php//Create a task$curl = curl_init();curl_setopt($curl, CURLOPT_URL, ' CURLOPT_HTTPHEADER, array( "X-API-KEY: YOUR_API_KEY", "Content-Type: multipart/form-data",));curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);curl_setopt($curl, CURLOPT_POST, true);curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($curl, CURLOPT_POSTFIELDS, array('sync' => 0, 'image_file' => new CURLFILE("/path/to/image.jpg")));$response = curl_exec($curl);$result = curl_errno($curl) ? curl_error($curl) : $response;curl_close($curl);$result = json_decode($result, true);if ( !isset($result["status"]) || $result["status"] != 200 ) { // request failed, log the details var_dump($result); die("post request failed");}// var_dump($result);$task_id = $result["data"]["task_id"];//get the task result// 1、"The polling interval is set to 1 second."//2 "The polling time is around 30 seconds."for ($i = 1; $i 30; $i++) { if ($i != 1) { sleep(1); } $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, " curl_setopt($curl, CURLOPT_HTTPHEADER, array( "X-API-KEY: YOUR_API_KEY", )); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($curl); $result = curl_errno($curl) ? curl_error($curl) : $response; curl_close($curl); var_dump($result); $result = json_decode($result, true); if ( !isset($result["status"]) || $result["status"] != 200 ) { // Task exception, logging the error. //You can choose to continue the loop with 'continue' or break the loop with 'break' var_dump($result); continue; } if ( $result["data"]["state"] == 1 ) { // task success var_dump($result["data"]["image"]); break; } else if ( $result["data"]["state"] 0) { // request failed, log the details var_dump($result); break; } else { // Task processing if ($i == 30) { //Task processing, abnormal situation, seeking assistance from customer service of picwish } }}public static void main(String[] args) throws Exception { String taskId = createTask(); String result = pollingTaskResult(taskId, 0); System.out.println(result);}private static String createTask() throws Exception { OkHttpClient okHttpClient = new OkHttpClient.Builder().build(); RequestBody requestBody = new MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("image_file", JPG_FILE_NAME, RequestBody.create({JPG_FILE}, MediaType.parse("image/jpeg"))) .addFormDataPart("sync", "0") .build(); Request request = new Request.Builder() .url(" .addHeader("X-API-KEY", "YOUR_API_KEY") .post(requestBody) .build(); Response response = okHttpClient.newCall(request).execute(); JSONObject jsonObject = new JSONObject(response.body().string()); int status = jsonObject.optInt("status"); if (status != 200) { throw new Exception(jsonObject.optString("message")); } return jsonObject.getJSONObject("data").optString("task_id");}private static String pollingTaskResult(String taskId, int pollingTime) throws Exception { if (pollingTime >= 30) throw new IllegalStateException("Polling result timeout."); OkHttpClient okHttpClient = new OkHttpClient.Builder().build(); Request taskRequest = new Request.Builder() .url(" + taskId) .addHeader("X-API-KEY", "YOUR_API_KEY") .get() .build(); Response taskResponse = okHttpClient.newCall(taskRequest).execute(); JSONObject jsonObject = new JSONObject(taskResponse.body().string()); int state = jsonObject.getJSONObject("data").optInt("state"); if (state 0) { // Error. throw new Exception(jsonObject.optString("message")); } if (state == 1) { // Success and get result.. 76 likes, 0 comments - satish.amge.7 on J Blitz Chess 1 point 8 matches. Checkers 0 points 7 matches Backgammon 0 points 7 matches Curling 0 points 7 matches

Comments

User8165

目录 文章目录 目录 编译安装 YUM 升级 curl 常用选项 编译安装安装编译环境:yum -y groupinstall "Development Tools"yum -y install libev libev-devel zlib zlib-devel openssl openssl-devel git 1 2 安装 OpenSSL:mkdir /var/tmpcd /var/tmpwget -zxf openssl-1.0.2.tar.gzcd openssl-1.0.2mkdir /opt/openssl./config --prefix=/opt/opensslmakemake testmake install 1 2 3 4 5 6 7 8 9 10 安装 nghttp2:git clone nghttp2autoreconf -iautomakeautoconf./configuremakemake installecho '/usr/local/lib' > /etc/ld.so.conf.d/custom-libs.confldconfigldconfig -p| grep libnghttp2 1 2 3 4 5 6 7 8 9 10 11 安装 curl:cd /var/tmpgit clone curl./buildconf./configure --with-ssl=/opt/openssl --with-nghttp2=/usr/local --disable-file --without-pic --disable-sharedmake 1 2 3 4 5 6 验证:$ /var/tmp/curl/src/curl --versioncurl 7.70.0-DEV (x86_64-unknown-linux-gnu) libcurl/7.70.0-DEV OpenSSL/1.0.2o nghttp2/1.41.0-DEVRelease-Date: [unreleased]Protocols: dict ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftpFeatures: AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets 1 2 3 4 5 注意:curl 从 7.52.0 版本开始也已经支持 TLS 1.3 了,curl 7.61.0 及以上在 TLS 握手过程中协商 TLS 版本时,curl 默认使用 TLS 1.3,但也取决于 curl 正在使用的 TLS 库及其版本,例如:要求 OpenSSL 1.1.1 版本以上。YUM 升级安装新版 libcurl 的 yum 源:rpm -ivh 1 升级:yum upgrade libcurl 1 升级完成后可以卸载此 yum 源:rpm -e city-fan.org-release 1 curl 常用选项语法格式: curl [options] [URL...]常用选项如下所示: -A/--user-agent : 设置用户代理发送给服务器 -e/--referer : 来源网址 --cacert : CA 证书(SSL) -k/--insecure: 允许忽略证书进行 SSL 连接 --compressed: 要求返回是压缩的格式 -H/--header : 自定义首部信息传递给服务器 -i: 显示页面内容,包括报文首部信息 -I/--head: 只显示响应报文首部信息 -D/--dump-header : 将 URL 的 header 信息存放在指定文件中 --basic: 使用 HTTP 基本认证 -u/--user : 设置服务器的用户和密码 -L: 如果有 3xx 响应码,重新发请求到新位置 -O: 使用 URL 中默认的文件名保存文件到本地 -o : 将网络文件保存为指定的文件中 --limit-rate : 设置传输速度 -0/--http1.0: 数字 0,使用 HTTP 1.0 -v/--verbose: 更详细 -C: 选项可对文件使用断点续传功能 -c/--cookie-jar : 将 URL 中 Cookie 存放在指定文件中 -x/--proxy : 指定代理服务器地址 -X/--request : 向服务器发送指定请求方法 -U/--proxy-user : 代理服务器用户和密码 -T: 选项可将指定的本地文件上传到 FTP 服务器上 --data/-d: 方式指定使用 POST 方式传递数据 -b name=data: 从服务器响应 set-cookie 得到值,返回给服务器 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 文章来源: is-cloud.blog.csdn.net,作者:范桂飓,版权归原作者所有,如需转载,请联系作者。原文链接:is-cloud.blog.csdn.net/article/details/105695093 【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: [email protected]

2025-04-21
User5603

9 AM 58° Sunny Feels Like 58° East 5 - 11 mph 1 Low SPF: no Rain 0% 0 in Humidity 46% Dew Point 37 °F Clouds 0% Feels Like 58 °F Visibility 22 mi Wind - Average 5 mph Pressure 1019 hPa Fog No Wind - Gusts 11 mph Snowline 10499 ft 10 AM 62° Sunny Feels Like 62° East 6 - 13 mph 2 Low SPF: no Rain 0% 0 in Humidity 40% Dew Point 38 °F Clouds 0% Feels Like 62 °F Visibility 25 mi Wind - Average 6 mph Pressure 1020 hPa Fog No Wind - Gusts 13 mph Snowline 10827 ft 11 AM 66° Sunny Feels Like 66° East 7 - 16 mph 3 Moderate SPF: 6-10 Rain 0% 0 in Humidity 33% Dew Point 36 °F Clouds 0% Feels Like 66 °F Visibility 25 mi Wind - Average 7 mph Pressure 1020 hPa Fog No Wind - Gusts 16 mph Snowline 10827 ft 12 PM 70° Sunny Feels Like 70° East 5 - 16 mph 5 Moderate SPF: 6-10 Rain 0% 0 in Humidity 27% Dew Point 34 °F Clouds 0% Feels Like 70 °F Visibility 25 mi Wind - Average 5 mph Pressure 1020 hPa Fog No Wind - Gusts 16 mph Snowline 10827 ft 1 PM 72° Sunny Feels Like 76° East 4 - 16 mph 6 High SPF: 15-25 Rain 0% 0 in Humidity 24% Dew Point 33 °F Clouds 0% Feels Like 76 °F Visibility 25 mi Wind - Average 4 mph Pressure 1019 hPa Fog No Wind - Gusts 16 mph Snowline 10827 ft 2 PM 74° Sunny Feels Like 76° Southeast 3 - 12 mph 6 High SPF: 15-25 2 PM 74° Sunny Feels Like 76° Southeast 3 - 12 mph 6 High SPF: 15-25 Rain 0% 0 in Humidity 22% Dew Point 33 °F Clouds 0% Feels Like 76 °F Visibility 25 mi Wind - Average 3 mph Pressure 1018 hPa Fog No Wind - Gusts 12 mph Snowline 10827 ft 3 PM 76° Sunny Feels Like 76° Southeast 2 - 11 mph 5 Moderate SPF: 6-10

2025-04-12
User7163

Rain 0% 0 in Humidity 21% Dew Point 33 °F Clouds 2% Feels Like 76 °F Visibility 25 mi Wind - Average 2 mph Pressure 1016 hPa Fog No Wind - Gusts 11 mph Snowline 10827 ft 4 PM 76° Sunny Feels Like 77° West 1 - 12 mph 3 Moderate SPF: 6-10 Rain 0% 0 in Humidity 21% Dew Point 34 °F Clouds 4% Feels Like 77 °F Visibility 25 mi Wind - Average 1 mph Pressure 1015 hPa Fog No Wind - Gusts 12 mph Snowline 11155 ft 5 PM 76° Sunny Feels Like 77° West 4 - 9 mph 2 Low SPF: no 5 PM 76° Sunny Feels Like 77° West 4 - 9 mph 2 Low SPF: no Rain 0% 0 in Humidity 21% Dew Point 33 °F Clouds 1% Feels Like 77 °F Visibility 25 mi Wind - Average 4 mph Pressure 1015 hPa Fog No Wind - Gusts 9 mph Snowline 11483 ft 6 PM 75° Sunny Feels Like 76° Southwest 3 - 10 mph 1 Low SPF: no Rain 0% 0 in Humidity 23% Dew Point 35 °F Clouds 0% Feels Like 76 °F Visibility 25 mi Wind - Average 3 mph Pressure 1015 hPa Fog No Wind - Gusts 10 mph Snowline 11483 ft 7 PM 71° Sunny Feels Like 71° South 2 - 10 mph 0 Low SPF: no Rain 0% 0 in Humidity 36% Dew Point 43 °F Clouds 3% Feels Like 71 °F Visibility 25 mi Wind - Average 2 mph Pressure 1015 hPa Fog No Wind - Gusts 10 mph Snowline 11483 ft 8 PM 68° Clear Feels Like 68° South 2 - 4 mph 0 Low SPF: no 8 PM 68° Clear Feels Like 68° South 2 - 4 mph 0 Low SPF: no Rain 0% 0 in Humidity 31% Dew Point 36 °F Clouds 7% Feels Like 68 °F Visibility 25 mi Wind - Average 2 mph Pressure 1015 hPa Fog No Wind - Gusts 4 mph Snowline 11811 ft 9 PM 66° Clear Feels Like 66° South 3 - 4 mph 0 Low SPF: no

2025-04-06
User1366

50) Darksalmon#E9967Acmyk(0, 36, 48, 9) Turquoise#40E0D0cmyk(71, 0, 7, 12) Mediumblue#0000CDcmyk(100, 100, 0, 20) Powderblue#B0E0E6cmyk(23, 3, 0, 10) Mediumpurple#9370DBcmyk(33, 49, 0, 14) Blue#0000FFcmyk(100, 100, 0, 0) Firebrick#B22222cmyk(0, 81, 81, 30) Palegreen#98FB98cmyk(39, 0, 39, 2) Dodgerblue#1E90FFcmyk(88, 44, 0, 0) Indigo#4B0082cmyk(42, 100, 0, 49) Salmon#FA8072cmyk(0, 49, 54, 2) Cyan#00FFFFcmyk(100, 0, 0, 0) Darkviolet#9400D3cmyk(30, 100, 0, 17) Palevioletred#DB7093cmyk(0, 49, 33, 14) Darkslateblue#483D8Bcmyk(48, 56, 0, 45) Limegreen#32CD32cmyk(76, 0, 76, 20) Deeppink#FF1493cmyk(0, 92, 42, 0) Darkseagreen#8FBC8Fcmyk(24, 0, 24, 26) Magenta / fuchsia#FF00FFcmyk(0, 100, 0, 0) Midnightblue#191970cmyk(78, 78, 0, 56) Blanchedalmond#FFEBCDrgb(255, 235, 205) Darkmagenta#8B008Bcmyk(0, 8, 20, 0) Lawngreen#7CFC00cmyk(51, 0, 100, 1) Darkorchid#9932CCcmyk(25, 75, 0, 20) Darkblue#00008Bcmyk(100, 100, 0, 45) Royalblue#4169E1cmyk(71, 53, 0, 12) Mediumorchid#BA55D3cmyk(12, 60, 0, 17) Purple#800080cmyk(0, 100, 0, 50) Lightsalmon#FFA07Acmyk(0, 37, 52, 0) Beige#F5F5DCcmyk(0, 0, 10, 4) Violet#EE82EEcmyk(0, 45, 0, 7) Orchid#DA70D6cmyk(0, 49, 2, 15) Lightyellow#FFFFE0cmyk(0, 0, 12, 0) Saddlebrown#8B4513cmyk(0, 50, 86, 45) Rosybrown#BC8F8Fcmyk(0, 24, 24, 26) Peachpuff#FFDAB9cmyk(0, 15, 27, 0) Hotpink#FF69B4cmyk(0, 59, 29, 0) Pink#FFC0CBcmyk(0, 25, 20, 0) Antiquewhite#FAEBD7cmyk(0, 6, 14, 2) Wheat#F5DEB3cmyk(0, 9, 27, 4) Slateblue#6A5ACDcmyk(48, 56, 0, 20) Forestgreen#228B22cmyk(76, 0, 76, 45) Lemonchiffon#FFFACDcmyk(0, 2, 20, 0) Lightpink#FFB6C1cmyk(0, 29, 24, 0) Papayawhip#FFEFD5cmyk(0, 6, 16, 0) Moccasin#FFE4B5cmyk(0, 11, 29, 0) Chocolate#D2691Ecmyk(0, 50, 86, 18) Thistle#D8BFD8cmyk(0, 12, 0, 15) Peru#CD853Fcmyk(0, 35, 69, 20) Sandybrown#F4A460cmyk(0, 33, 61, 4) Cornsilk#FFF8DCcmyk(0, 3, 14, 0) Mediumvioletred#C71585cmyk(0, 89, 33, 22) Bisque#FFE4C4cmyk(0, 11, 23, 0) Tan#D2B48Ccmyk(0, 14, 33, 18) Silver#C0C0C0cmyk(0, 0, 0, 25) Lightskyblue#87CEFAcmyk(46, 18, 0, 2) Ivory#FFFFF0cmyk(0, 0, 6, 0) Mediumslateblue#7B68EEcmyk(48, 56, 0, 7) Whitesmoke#F5F5F5cmyk(0, 0, 0, 4) Lightgray / lightgrey#D3D3D3cmyk(0, 0, 0, 17) Lavenderblush#FFF0F5cmyk(0, 6, 4, 0) Linen#FAF0E6cmyk(0, 4, 8, 2) Seashell#FFF5EEcmyk(0, 4, 7, 0) Gainsboro#DCDCDCcmyk(0, 0, 0, 14) Lightgoldenrodyellow#FAFAD2cmyk(0, 0, 16, 2) Slategray#708090cmyk(22, 11, 0, 44) Sienna#A0522Dcmyk(0, 49, 72, 37) Darkgray / darkgrey#A9A9A9cmyk(0, 0, 0, 34) Burlywood#DEB887cmyk(0, 17, 39, 13) Mistyrose#FFE4E1cmyk(0, 11, 12, 0) Gray / grey#808080cmyk(0, 0, 0, 50) Dimgray / dimgrey#696969cmyk(0, 0, 0, 59) Palegoldenrod#EEE8AAcmyk(0, 3, 29, 7) Aliceblue#F0F8FFcmyk(6, 3, 0, 0) Navajowhite#FFDEADcmyk(0, 13, 32, 0) Coral#FF7F50cmyk(0, 50, 69, 0) Snow#FFFAFAcmyk(0, 2, 2, 0) Mintcream#F5FFFAcmyk(4, 0, 2, 0) Khaki#F0E68Ccmyk(0, 4, 42, 6) Yellowgreen#9ACD32cmyk(25, 0, 76, 20) Oldlace#FDF5E6cmyk(0, 3, 9, 1) Ghostwhite#F8F8FFcmyk(3, 3, 0, 0) Floralwhite#FFFAF0cmyk(0, 2, 6, 0) Lavender#E6E6FAcmyk(8, 8, 0, 2) White#FFFFFFcmyk(0, 0, 0, 0)

2025-04-18
User2065

(20):} [52 bytes data]SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384ALPN: server accepted http/1.1Server certificate:subject: CN=ubuntustart date: Feb 10 15:24:51 2023 GMTexpire date: Feb 7 15:24:51 2033 GMTissuer: CN=ubuntuSSL certificate verify result: self-signed certificate (18), continuing anyway.using HTTP/1.1} [5 bytes data]GET / HTTP/1.1Host: 127.0.0.1User-Agent: curl/7.88.1-DEVAccept: /{ [5 bytes data]TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):{ [230 bytes data]TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):{ [230 bytes data]old SSL session ID is stale, removing{ [5 bytes data]{ [10701 bytes data]################################################################################################################################ 100.0%* Connection #0 to host 127.0.0.1 left intactExcpeted is to not fall back to http1.1 and expected result should look something like this belowroot@ubuntu:~# curl -# -v -k --http3 -o index.html 127.0.0.1:443...Skipped certificate verificationConnected to 127.0.0.1 (127.0.0.1) port 443 (#0)using HTTP/3h2h3 [:method: GET]h2h3 [:path: /]h2h3 [:scheme: https]h2h3 [:authority: 127.0.0.1]h2h3 [user-agent: curl/7.88.1-DEV]h2h3 [accept: /]Using HTTP/3 Stream ID: 0 (easy handle 0x556d310dff30)GET / HTTP/3Host: 127.0.0.1user-agent: curl/7.88.1-DEVaccept: /{ [3483 bytes data]################################################################################################################################ 100.0%* Connection #0 to host 127.0.0.1 left intactroot@ubuntu:~# curl -Vcurl 7.88.1-DEV (x86_64-pc-linux-gnu) libcurl/7.88.1-DEV OpenSSL/3.0.0 zlib/1.2.11 brotli/1.0.9 ngtcp2/0.14.0-DEV nghttp3/0.9.0-DEVRelease-Date: [unreleased]Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftpFeatures: alt-svc AsynchDNS brotli HSTS HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL threadsafe TLS-SRP UnixSocketsPRETTY_NAME="Ubuntu 22.04.1 LTS"NAME="Ubuntu"VERSION_ID="22.04"VERSION="22.04.1 LTS (Jammy Jellyfish)"root@ubuntu:# nginx -Vnginx version: nginx/1.23.4 (nginx-quic)built by gcc 11.3.0 (Ubuntu 11.3.0-1ubuntu122.04)built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)TLS SNI support enabledconfigure arguments: --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-compat --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module

2025-04-23

Add Comment