From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 16 00:49:29 2019 Received: (at submit) by debbugs.gnu.org; 16 Aug 2019 04:49:29 +0000 Received: from localhost ([127.0.0.1]:52910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyUB6-0003Mk-DG for submit@debbugs.gnu.org; Fri, 16 Aug 2019 00:49:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:59315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyRAs-00053T-UB for submit@debbugs.gnu.org; Thu, 15 Aug 2019 21:37:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56726) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyRAq-0008MR-Oy for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:37:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyRAo-0004cB-Ef for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:37:00 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:54196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyRAo-0004bb-6R for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:36:58 -0400 Received: by mail-wm1-x341.google.com with SMTP id 10so2773628wmp.3 for ; Thu, 15 Aug 2019 18:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=g/Ksl+ztci0yZ+aI/sKlHZUxlwjnUUApgwXSNBjzs5w=; b=Fp+wh2r+wCTfViBP/n6hXOooEIhnqCHH2FuAS+cR24CHLOCYM5pq+5L+EC92bwjOdw 5Zzpu/RpmCrDYlaGKdbinTOwZMArR+aBmGKmqC2jTP4FKU+xyd8LTd4wjTa2VtHG2+Nz No5C0flpp2UZLGk1UjAiTwKpLnLrQ5WieZtK4pYigXUdJIQHfPmm34Kl9AO1khpYhy+O 8wRS8KiIvYHo8g+gTTCZB8n+lg8wm87ZyzKdjEEPbHuzBqdNP1KkxDM79FGA4nCrlo4m tiYAGj9/LBjGhfERoMkZIGgvRmC77Dv5I/yJADfIT5GcTZVOSer+kouKutwhNdQClC0D g5RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=g/Ksl+ztci0yZ+aI/sKlHZUxlwjnUUApgwXSNBjzs5w=; b=lyH7u0JiRhvYuet8cZTqHXTwwBFAmJTH3n5pmrY6Vg/hxt1fTogW5Kk/vr3HFvWSeX y7XLQI/CUdfjqycbhhxZ2jHDJikDMKtCZXIEZi1Dc8iT7P0o/f/qtmflIaZY+l7Wz7g6 VBvqOmM5sZUkjFH+0dSlTcqfjZ/4yXUm0povTRi3b7R+KDX+hY1bVjW3mQKMhgbUlO8Q SUmpaDndoM5KokNzZHkTznCm3CF06k+O20d+Vjtgf8awZV0Ki3lQV2bni8rpiMNOs9uB 76req63TTZvLifUWsjGxe++2PaHGc/I5Rjkb7B2mLoLZVGPXHl61ioEdtI9ckZpwXd2a IpZA== X-Gm-Message-State: APjAAAXsdFJ3oGzZTQdC0zPFns5rbFXb1Fw7M1WICzdbES/WJlShNeDD 152JclikgfFkOFfQW2Qr9RId2AMciPRSplLeb0foTxMX0/U= X-Google-Smtp-Source: APXvYqwpE62Nz4vFJVUhtn0jMVDBKkWvO+gwkA6GiKFDHeZuQPuCTxGK5QMsIfXNgJ5eEW2X4hFyh0L43ku2mAXcibA= X-Received: by 2002:a7b:cf2d:: with SMTP id m13mr4774399wmg.120.1565919416203; Thu, 15 Aug 2019 18:36:56 -0700 (PDT) MIME-Version: 1.0 From: David Ringo Date: Thu, 15 Aug 2019 19:36:44 -0600 Message-ID: Subject: 27.0.50; url-http breaks behind proxy when reusing existing connection To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000008cbf9b05903206a3" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 16 Aug 2019 00:49:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000008cbf9b05903206a3 Content-Type: text/plain; charset="UTF-8" When trying to make more than one HTTPS request to the same host via `url-retrieve-synchronously' behind my work proxy, only the first request succeeds. Depending on the host, subsequent requests result in 400/404/302 and perhaps a couple other response codes. There's some minimal code below that can be run with emacs -Q, but I don't know how to replicate the proxy. It seems that commit 84613dae5c3 is at least partially responsible for this. It's a small change to `url-https-proxy-after-change-function' that binds `url-http-proxy' around the call to `url-http-create-request'. Without that binding, I see no errors. I tested this both in 26.2.90 which does not include that commit, and the revision in this report by simply redefining the function to the older version. This happens both when `url-proxy-services' is set manually and when it is set from environment variables. I'm not sure if this is a problem with Emacs, the proxy I'm behind, or if there is some configuration I should be aware of that already addresses this. Please let me know if there's any other useful information I can provide. Sample code and the corresponding url-http buffer headers follow. The specific URLs don't seem to matter as long they are HTTPS. The optional arguments also don't seem to make a difference. - David Code: (url-retrieve-synchronously "https://xkcd.com/1/") (url-retrieve-synchronously "https://xkcd.com/2/") First request (success): HTTP/1.1 200 OK Server: nginx Content-Type: text/html; charset=UTF-8 Last-Modified: Thu, 15 Aug 2019 11:24:39 GMT Expires: Thu, 15 Aug 2019 21:22:11 GMT Cache-Control: max-age=300 Content-Length: 3012 Accept-Ranges: bytes Date: Fri, 16 Aug 2019 01:32:01 GMT Via: 1.1 varnish Age: 142 Connection: keep-alive X-Served-By: cache-mdw17348-MDW X-Cache: HIT X-Cache-Hits: 1 X-Timer: S1565919121.298692,VS0,VE0 Vary: Accept-Encoding Second request (failuer): HTTP/1.1 400 Bad Request Server: nginx Content-Type: text/html; charset=UTF-8 Content-Length: 166 Accept-Ranges: bytes Date: Fri, 16 Aug 2019 01:32:01 GMT Via: 1.1 varnish Connection: keep-alive X-Served-By: cache-mdw17348-MDW X-Cache: MISS X-Cache-Hits: 0 X-Timer: S1565919121.349321,VS0,VE26 In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu) of 2019-08-07 built on slartibartfast Repository revision: d5622eb6fff94714c5d5a64c98c5e02bc1be478c Repository branch: master Windowing system distributor 'Fedora Project', version 11.0.12005000 System Description: Fedora 30 (Workstation Edition) Recent messages: Making completion list... Quit Note: file is write protected View mode: type C-h for help, h for commands, q to quit. previous-line: Beginning of buffer [2 times] Mark saved where search started Note: file is write protected View mode: type C-h for help, C-h m for commands, M-x View-quit to quit. Quit [3 times] Mark saved where search started Quit Configured using: 'configure --with-imagemagick --with-modules --with-x-toolkit=no' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB OLDXMENU X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail goto-addr thingatpt mule-util jka-compr info noutline outline easy-mmode view help-mode easymenu misearch multi-isearch mail-utils gnutls network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib url-vars mailcap tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting x multi-tty make-network-process emacs) Memory information: ((conses 16 76232 12727) (symbols 48 8198 1) (strings 32 28196 1967) (string-bytes 1 800056) (vectors 16 13427) (vector-slots 8 162016 12678) (floats 8 43 388) (intervals 56 1044 0) (buffers 992 19)) --0000000000008cbf9b05903206a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When trying to make more than one HTTPS request to th= e same host via `url-retrieve-synchronously' behind my work proxy, only= the first request succeeds.=C2=A0 Depending on the host, subsequent reques= ts result in 400/404/302 and perhaps a couple other response codes.=C2=A0 T= here's some minimal code below that can be run with emacs -Q, but I don= 't know how to replicate the proxy.

It seems t= hat commit=C2=A084613dae5c3 is at least partially responsible for this.=C2= =A0 It's a small change to `url-https-proxy-after-change-function' = that binds `url-http-proxy' around the call to `url-http-create-request= '.=C2=A0 Without that binding, I see no errors.=C2=A0 I tested this bot= h in 26.2.90 which does not include that commit, and the revision in this r= eport by simply redefining the function to the older version.
This happens both when `url-proxy-services' is set manually= and when it is set from environment variables.

I&= #39;m not sure if this is a problem with Emacs, the proxy I'm behind, o= r if there is some configuration I should be aware of that already addresse= s this.=C2=A0 Please let me know if there's any other useful informatio= n I can provide.

Sample code and the corresponding= url-http buffer headers follow.=C2=A0 The specific URLs don't seem to = matter as long they are HTTPS.=C2=A0 The optional arguments also don't = seem to make a difference.

- David

<= /div>
Code:
(url-retrieve-synchronously "https://xkcd.com/1/")
(url-retrieve= -synchronously "https://xkcd.com/2/")



In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu)
=C2=A0of 20= 19-08-07 built on slartibartfast
Repository revision: d5622eb6fff94714c5= d5a64c98c5e02bc1be478c
Repository branch: master
Windowing system dis= tributor 'Fedora Project', version 11.0.12005000
System Descript= ion: Fedora 30 (Workstation Edition)

Recent messages:
Making comp= letion list...
Quit
Note: file is write protected
View mode: type = C-h for help, h for commands, q to quit.
previous-line: Beginning of buf= fer [2 times]
Mark saved where search started
Note: file is write pro= tected
View mode: type C-h for help, C-h m for commands, M-x View-quit t= o quit.
Quit [3 times]
Mark saved where search started
Quit
Con= figured using:
=C2=A0'configure --with-imagemagick --with-modules --= with-x-toolkit=3Dno'

Configured features:
XPM JPEG TIFF GIF P= NG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY INOTIFY ACL LIB= SELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT
LIBOTF XFT ZLIB OLDXME= NU X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP

Important settings= :
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im= =3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Info<= br>
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-el= doc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t=
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-= shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode:= t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2= =A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 bu= ffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mo= de: t

Load-path shadows:
None found.

Features:
(shadow = sort mail-extr emacsbug message dired dired-loaddefs format-spec
rfc822 = mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs te= xt-property-search time-date mm-decode mm-bodies
mm-encode mailabbrev gm= m-utils mailheader sendmail goto-addr thingatpt
mule-util jka-compr info= noutline outline easy-mmode view help-mode
easymenu misearch multi-isea= rch mail-utils gnutls network-stream
url-cache url-http url-auth mail-pa= rse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr url-gw nsm rmc= puny url url-proxy url-privacy
url-expand url-methods url-history url-c= ookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core = cl-macs eieio-loaddefs
password-cache json subr-x map seq byte-opt gv by= tecomp byte-compile
cconv cl-loaddefs cl-lib url-vars mailcap tooltip el= doc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-= win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fr= inge
tabulated-list replace newcomment text-mode elisp-mode lisp-modeprog-mode register page menu-bar rfn-eshadow isearch timer select
scrol= l-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors= frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan = thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian= slovak czech european ethiopic indian cyrillic
chinese composite charsc= ript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarr= ay minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroe= xp files text-properties overlay sha1 md5
base64 format env code-pages m= ule custom widget hashtable-print-readable
backquote threads dbusbind in= otify lcms2 dynamic-setting
system-font-setting font-render-setting x mu= lti-tty make-network-process
emacs)

Memory information:
((cons= es 16 76232 12727)
=C2=A0(symbols 48 8198 1)
=C2=A0(strings 32 28196 = 1967)
=C2=A0(string-bytes 1 800056)
=C2=A0(vectors 16 13427)
=C2= =A0(vector-slots 8 162016 12678)
=C2=A0(floats 8 43 388)
=C2=A0(inter= vals 56 1044 0)
=C2=A0(buffers 992 19))
--0000000000008cbf9b05903206a3-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 16 13:06:10 2019 Received: (at 37044) by debbugs.gnu.org; 16 Aug 2019 17:06:10 +0000 Received: from localhost ([127.0.0.1]:54848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyfg2-0002zQ-5K for submit@debbugs.gnu.org; Fri, 16 Aug 2019 13:06:10 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:35882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyffz-0002yx-B5 for 37044@debbugs.gnu.org; Fri, 16 Aug 2019 13:06:09 -0400 Received: by mail-io1-f53.google.com with SMTP id o9so7557564iom.3 for <37044@debbugs.gnu.org>; Fri, 16 Aug 2019 10:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+C9wfu41YEKxrDVBNpCqQ4DM7rbBGpqHjRGje+9ww3M=; b=OMakvVNniSamz1+ZcbBgJGLMTFi16pSmwKALO5tqR95GonaiN6dQLJPmHChKlszoWN GqnKNhL07JUYZOrGt6ZAK+15jArNMOCGl5ekD6jFsAAeJy1VBb9aFNCDfHBp0X/MVBYJ 8Lu9ZL3tADIscU+rv3+d1mVzUM0hnpN1RaH3yIFZ+K7kM3KwsWLoO3Ie1G/Z1H3ppy94 NPrLP9YAb1d9A0oM6/+fECiIVtZzlhUZFu2mhzkYWRXXynj4FEsxB+a7LDrX/iGTgJDi s8W5rayK4K94rKrDFIDpvH3Gs037Qsl7XzKVby9RW5JLLDIwQrD10otsblIc87RkImyz 7nSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=+C9wfu41YEKxrDVBNpCqQ4DM7rbBGpqHjRGje+9ww3M=; b=BysU/6CdYEi4CNXTuL9TIF3BgEBNBlLFzVzxRRtYUiHVEcic4jhseA+Ly4lfqLm6mo BouP1xXI2R2Mu8N41lAOeqLxCTe6EYuEnIBvYy33exdjq4iTO4gyN/jVaDOrQRA3ioeA R89a5AfOKinQFCsHiI5R76n6RnM+TOeRpO7NOvsH3Nxo2Dz8nRfuNkZkc0ER8Z5rQNkO WVaJnj91enUbRuVrZsSKtL6ceekK89FduTFQ/Hq2ppunWpKclQMWIg9QuduRgZUcfL/h P351k9S5LkxfX1MIqO6VuIboy5RmgpU+n+uqbBD4g+eFfDwRDWDJ551jtRSg4EjNNv/q bwgQ== X-Gm-Message-State: APjAAAUCLlWYH+dFybsk+QbbnDrWN+Jm40/cLS3UZeH1JkJs0gvU0ATp /2xP68VtZUwRtRqyTvEUAV9dVPiWuAlHNA== X-Google-Smtp-Source: APXvYqzPVf6JEauHFWuDwxvD60NXiukwX0QN7W+c5roUVLBmWBgFbsf7F1QcIV3lpYdzdUX/KE6yrw== X-Received: by 2002:a5e:834d:: with SMTP id y13mr1360665iom.79.1565975161547; Fri, 16 Aug 2019 10:06:01 -0700 (PDT) Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id x11sm10090894ioh.87.2019.08.16.10.06.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Aug 2019 10:06:00 -0700 (PDT) From: Thomas Fitzsimmons To: David Ringo Subject: Re: bug#37044: 27.0.50; url-http breaks behind proxy when reusing existing connection References: Date: Fri, 16 Aug 2019 13:05:59 -0400 In-Reply-To: (David Ringo's message of "Thu, 15 Aug 2019 19:36:44 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 37044 Cc: 37044@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hi David, David Ringo writes: > It seems that commit 84613dae5c3 is at least partially responsible for > this. It's a small change to `url-https-proxy-after-change-function' > that binds `url-http-proxy' around the call to > `url-http-create-request'. This might be addressed by the fix for bug#35969 that I pushed last night, can you retry with master tip? http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35969 Thanks, Thomas From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 16 20:58:37 2019 Received: (at 37044) by debbugs.gnu.org; 17 Aug 2019 00:58:37 +0000 Received: from localhost ([127.0.0.1]:55194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyn3E-0004YW-MV for submit@debbugs.gnu.org; Fri, 16 Aug 2019 20:58:36 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:43425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyn3D-0004YK-Cy for 37044@debbugs.gnu.org; Fri, 16 Aug 2019 20:58:36 -0400 Received: by mail-wr1-f45.google.com with SMTP id y8so3098526wrn.10 for <37044@debbugs.gnu.org>; Fri, 16 Aug 2019 17:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bw+rSenTm54MVQR47qoTCJvBTBaLmGXmUAhM7T3Ksqo=; b=EzHf2Xpbm6qXAzYXTUh4Rgnhq3Z3aFkBFs13cX82+Qn7w2YChCY2oHDWnpfnqOK0qr zEznNYVD+BCPcqWu4uXKUSKX3O76U6g7XPKSM6sTADSaKkuOtTOn2VLin3DoMRssOzdE pzjkjzTwYMuOGHxdD+CNYdxQO+owaxLyKB10Y4Merq8uTZbVNv2JRADhXjfmbs9jmULw kbyUkYaN9FoCZ4QznBxxpPcwPJYdmRJUVml49jF368TapD1576sQrnMHPtM49NYZo8rw a3RFDsF1vV7cg0NCeA8Zi3geQXyVojPs7v2tLmYeu6Tz87um1xbDjx87tuZ5H8TxDyim Grkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bw+rSenTm54MVQR47qoTCJvBTBaLmGXmUAhM7T3Ksqo=; b=sdHAuuYWVv3K+LvtZ/e6TdRWs9v6xmgBZEHC6/DJs8BYP5u5dySD+noRHm3M/eaLEO zgd13U33/uYF4UZCwnj82dF5mZivnPVg28fq6K69dZ8fak+dTT2qFZiDE95+c4XAl8dZ sq9r9mlByNiX+FN+6QkRz/uhI5yxigNEV0qEBVGNmKQejYj6rwqXDDepKg97ltZP8NPG SkO2dVofeIantGz8HPk0ntlHeyCz+yfYIycE7zGmUm5U0Eaq5lFyynlcI1KQcVO1nTT3 6aq9SuopknivbdFr1OSjw2sfkUszmm8hbzUnV37i6Ta/eVr2QccG2Wq31bQDE6HWTPy6 l/7A== X-Gm-Message-State: APjAAAXr9OXKRtNK9BBAuoffmNUleZCAIQhCdp2r84Ck6SyqVaMfMkHW 78WK9C9FkZJF/stxBfsNejLVklHk/lX9Gw69kN/uin4r X-Google-Smtp-Source: APXvYqwCoFxGAFXjoYu/Agrz/Yuuq7NfdBIRCFk6sBa2QCKisM/g/v9eLQF5TeldKspp4kmdO3+UKsdjyFsS7I64LO4= X-Received: by 2002:a5d:4bc1:: with SMTP id l1mr13837202wrt.259.1566003509161; Fri, 16 Aug 2019 17:58:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Ringo Date: Fri, 16 Aug 2019 18:58:18 -0600 Message-ID: Subject: Re: bug#37044: 27.0.50; url-http breaks behind proxy when reusing existing connection To: Thomas Fitzsimmons Content-Type: multipart/alternative; boundary="000000000000e174680590459a26" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37044 Cc: 37044@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e174680590459a26 Content-Type: text/plain; charset="UTF-8" Hi Thomas, I haven't been able to test on the machine I submitted the report from, but on some other shared machines behind the proxy, it looks like your fix seems to work (while the revision I was on is still broken on those machines). Thanks for all the work on the other bug -- that seemed like a long process. I'm not super familiar with debbugs, but if there's anything I should do to mark this as closed or resolved, please let me know. - David On Fri, Aug 16, 2019 at 11:06 AM Thomas Fitzsimmons wrote: > Hi David, > > David Ringo writes: > > > It seems that commit 84613dae5c3 is at least partially responsible for > > this. It's a small change to `url-https-proxy-after-change-function' > > that binds `url-http-proxy' around the call to > > `url-http-create-request'. > > This might be addressed by the fix for bug#35969 that I pushed last > night, can you retry with master tip? > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35969 > > Thanks, > Thomas > --000000000000e174680590459a26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Thomas,

I haven't been able to t= est on the machine I submitted the report from, but on some other shared ma= chines behind the proxy, it looks like your fix seems to work (while the re= vision I was on is still broken on those machines). Thanks for all the work= on the other bug -- that seemed like a long process.

<= div>I'm not super familiar with debbugs, but if there's anything I = should do to mark this as closed or resolved,=C2=A0please let me know.

- David

Hi= David,

David Ringo <
= davidmringo@gmail.com> writes:

> It seems that commit 84613dae5c3 is at least partially responsible for=
> this.=C2=A0 It's a small change to `url-https-proxy-after-change-f= unction'
> that binds `url-http-proxy' around the call to
> `url-http-create-request'.

This might be addressed by the fix for bug#35969 that I pushed last
night, can you retry with master tip?

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3= 5969

Thanks,
Thomas
--000000000000e174680590459a26-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 16 22:09:19 2019 Received: (at 37044-done) by debbugs.gnu.org; 17 Aug 2019 02:09:19 +0000 Received: from localhost ([127.0.0.1]:55212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyo9d-0006BY-P8 for submit@debbugs.gnu.org; Fri, 16 Aug 2019 22:09:19 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:37473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyo9b-0006BK-5u for 37044-done@debbugs.gnu.org; Fri, 16 Aug 2019 22:09:15 -0400 Received: by mail-io1-f54.google.com with SMTP id q22so9993144iog.4 for <37044-done@debbugs.gnu.org>; Fri, 16 Aug 2019 19:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6Q6os2Rr/O4Lkm3m4SdiNyHg5cqtSSLhhyhci1JGjOA=; b=wHkV5OSoOpRjKTfZPj/Sl4i3V3RuhtEb6VWvNnkEd3KPTs0WhYfpQDTnO0RPstTzZ+ PDo+imIP6WM2CVlaQzt6zE5fFy0Xkptatxf1pHujYpq/uhRCN7+AddG0nUddNR4IWQV0 M9Au7dx700AqxOrrK6MlUiILB0FIgUGy6O9epg74omnmUzKcT4pORdC6+EWVOvZnMdLd IPLzhvQFpvZn7vzoMyTe1gwSCtoTU1vIXz2/lMheXI+T89D/pF7gBLpzvSBgeuh6Q92N ygHoLVtzylc50Cs8zoIiNGJPntxUil98UYnjKfw536ClrtB06u2k91e5VQsP9vgse3m3 AWkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=6Q6os2Rr/O4Lkm3m4SdiNyHg5cqtSSLhhyhci1JGjOA=; b=XEcX+SUQvm5mAmKRCqPQ/PW8q1XVqBqBC4SJzSeaVM9Afk+cWQqVXF7Rv29gbSud2T FkVVrBIgxlkE5h0ubb01EuHJSvULBFskeTrD8/10S3BsH9BYNOphn+3/+BepNUCqEUWq 7PwIJOkl1Af4rS0YuDNYSDT6C3UWmmxP06+rbOXMf4CCPazznkFLjmCQqGtN5dikSPai lesn2luQ9IakWIR2BkwSEJA1Ws60k4CW9P/IhlEBknJIXGcDTvoKhlzp3J0aul1NZ57N 1Gaw6fc+ZCDr2dTo5Smsfzefc1gwniGVlOjC6jrE9crZNLiMZWE48PoQ2UfFA1/KkYpV +CBA== X-Gm-Message-State: APjAAAW8xDWzg8kpfp+isSkKlk9Lwrme3QGTNVaSPMZx0Ur3l4GbwnxE pPTeU6KsJs8bMW72qHABzPgtUqXMaynXHg== X-Google-Smtp-Source: APXvYqy3qwcaTd1jG02o44hJZbFFIM8RWWOchvUbAgWZz2uUXtQbmTmUCuG9XXtt2i0PoBdZiZW0/g== X-Received: by 2002:a6b:1ca:: with SMTP id 193mr14749880iob.264.1566007749452; Fri, 16 Aug 2019 19:09:09 -0700 (PDT) Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id p25sm5336880iol.48.2019.08.16.19.09.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Aug 2019 19:09:08 -0700 (PDT) From: Thomas Fitzsimmons To: David Ringo Subject: Re: bug#37044: 27.0.50; url-http breaks behind proxy when reusing existing connection References: Date: Fri, 16 Aug 2019 22:09:07 -0400 In-Reply-To: (David Ringo's message of "Fri, 16 Aug 2019 18:58:18 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37044-done Cc: 37044-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi David, David Ringo writes: > Hi Thomas, > > I haven't been able to test on the machine I submitted the report > from, but on some other shared machines behind the proxy, it looks > like your fix seems to work (while the revision I was on is still > broken on those machines). Thanks for all the work on the other bug -- > that seemed like a long process. > > I'm not super familiar with debbugs, but if there's anything I should > do to mark this as closed or resolved, please let me know. Thanks for the bug report and for confirming the fix. I'm marking this "done". Thomas From unknown Mon Jun 16 23:57:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Sep 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator