Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBfkx-0002sW-CL for pgadmin-hackers@arkaria.postgresql.org; Fri, 19 May 2017 11:07:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dBfkw-0000I6-VK for pgadmin-hackers@arkaria.postgresql.org; Fri, 19 May 2017 11:07:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dBfki-0008Jx-Nc for pgadmin-hackers@postgresql.org; Fri, 19 May 2017 11:07:24 +0000 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dBfkf-0004GZ-OV for pgadmin-hackers@postgresql.org; Fri, 19 May 2017 11:07:23 +0000 Received: by mail-io0-x236.google.com with SMTP id p24so45185362ioi.0 for ; Fri, 19 May 2017 04:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1cqU+a0Xv7Di6+uQrPw8UBNJIovO6x9QgBvP51C81k8=; b=ogGcYi3hdR7L89Ts55iEH9zQwjMUWjD/dYKlFEj9uHjPndh1pNhZ1eMoUwFPUjyDcQ rlWXVc5Uf7BBB52crpM3Z1RJ+22/DonJKIaYYqr7zFcO4GqNRkTgfCA8T2GfKyLob0Gu fGonlI4VsFt0s2lKyv/YIaK6krwl45fEfvwTGFf2Den68wvVucw04s3YWG2JSL6UVHEV J2y83u2KuMJsxHU2T2Ie4Ph4/YOeB+9gYHx6n85MXVQXuMg3H6z6ZoBVgzceKc2nVKLw JUSsFK3amESnyk/BcT5z5MfLbMP0u3LJd8v4aDW1Wi+a8aiFcfX3JKrCnnJxF7sqqAWT jQYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1cqU+a0Xv7Di6+uQrPw8UBNJIovO6x9QgBvP51C81k8=; b=NVfnFwI4n4USWNEBTEpSffnawFj2SjiIETnFGi4G/gvDifH7ESw+FOllVUVH6JYrrQ w2zrmNmzZxlM26X/p3YPIrp+Lfi8rabI8fgGrQdEliHLa4wFsFDFbmp8ejETEZQXqJD7 7k5Tby0awKBvYjcjggTPLqNO8pkQO/hWjsmS7CWat5XnwrKRtoYQw2QAiwkat9Od/ZXn wPBByvZhXRWuYcyc/VOugYRAtC7WjgZdMLjGMbnpWP1g9l/Vmu0Q+7wRS/q7C4veAg6s Ruphs5jLBhPnNzlUDFK+TDfxGWr41q+mhlICSUHIr/37KV+BXngUMgXehCx9MCgvUF+3 2rew== X-Gm-Message-State: AODbwcAX8upNpmgQHhaGiOoo50Y0YZob8qtsZ4qUUX2H9JLM7LAE44aX x4F5sPaQggsgZv1WgJjtNPP08scAs2VnCtf1Ug== X-Received: by 10.107.35.210 with SMTP id j201mr9052547ioj.144.1495192041009; Fri, 19 May 2017 04:07:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.147 with HTTP; Fri, 19 May 2017 04:07:20 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Fri, 19 May 2017 12:07:20 +0100 Message-ID: Subject: Re: [pgAdmin4][runtime][patch]: RM#2398 - Proxy not bypassed for embedded server in runtime on Windows To: Neel Patel Cc: pgadmin-hackers Content-Type: text/plain; charset="UTF-8" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On Thu, May 18, 2017 at 3:42 PM, Neel Patel wrote: > Hi Dave, > > Please find attached patch for the fix of RM#2398 - "Proxy not bypassed for > embedded server in runtime on Windows". > > Observation:- > We have observed this issue only with Qt WebEngine. We have not observed > this issue with Webkit ( Tested with Qt 5.3 ). > > Issue:- > If user set option "Bypass proxy server for local addresses" then WebEngine > doesn't bypass the request for local addresses even if that option is set. > > Solution:- > Now if user set option "Bypass proxy server for local addresses" then Web > Engine bypass the request for localhost and if user unset then request will > not be bypassed. > > Please find attached fix for this issue. Do review and test it and let me > know for any issue. Noted on the ticket: ==== Right, but as Maxim has noted, the proxy code is there to allow users to browse to online docs, so it can't just be disabled. This likely worked in 1.3 as that used QtWebEngine (which had a bunch of other issues). We need to fix it for QtWebKit, so that it honors the bypass proxy for local addresses option. ==== -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers