Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c37b23e4
Kaydet (Commit)
c37b23e4
authored
Ock 21, 2013
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
curl: fixed crashers in curl patch for system proxy
Change-Id: Ieb8e782eab9c9bde1d2099d8cc32eceef9f00002
üst
5c4351eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
curl-7.26.0_win-proxy.patch
curl/curl-7.26.0_win-proxy.patch
+5
-4
No files found.
curl/curl-7.26.0_win-proxy.patch
Dosyayı görüntüle @
c37b23e4
...
...
@@ -52,7 +52,7 @@
#ifndef CURL_DISABLE_HTTP
/* If proxy was not specified, we check for default proxy environment
@@ -4138,7 +4158,6
2
@@ static char *detect_proxy(struct connectdata *conn)
@@ -4138,7 +4158,6
3
@@ static char *detect_proxy(struct connectdata *conn)
* For compatibility, the all-uppercase versions of these variables are
* checked if the lowercase versions don't exist.
*/
...
...
@@ -71,7 +71,7 @@
+ ieNoProxy = wstrToCstr(ieProxyConfig->lpszProxyBypass);
+
+ /* Convert the ieNoProxy into a proper no_proxy value */
+ if(NULL !=
no_p
roxy) {
+ if(NULL !=
ieNoP
roxy) {
+ no_proxy = strdup(ieNoProxy);
+ pos = strpbrk(no_proxy, "; ");
+ while(NULL != pos) {
...
...
@@ -95,8 +95,9 @@
+ /* We found HTTP proxy value, then use it */
+ proxy = strdup( tok + 5 );
+ }
+ tok = strtok(NULL, ";");
+ }
+ while(NULL !=
strtok(NULL, ";")
);
+ while(NULL !=
tok
);
+ }
+ }
+ }
...
...
@@ -116,7 +117,7 @@
char proxy_env[128];
no_proxy=curl_getenv("no_proxy");
@@ -4189,9 +426
4
,9 @@ static char *detect_proxy(struct connectdata *conn)
@@ -4189,9 +426
5
,9 @@ static char *detect_proxy(struct connectdata *conn)
}
} /* if(!check_noproxy(conn->host.name, no_proxy)) - it wasn't specified
non-proxy */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment