Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314955

Summary: [Net] Accessing native proxy settings on Win7 is extremely slow
Product: [Eclipse Project] Platform Reporter: Matthew Piggott <matthew>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: pascal, pawel.pogorzelski1, Stefan.Liebig, Szymon.Brandys, wojciech.galanciak
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Stacktrace none

Description Matthew Piggott CLA 2010-05-28 16:27:11 EDT
Created attachment 170428 [details]
Stacktrace

I've noticed recently that network access seemed slow while using Windows 7, and when I've suspended the VM to investigate WinHttpProxyProvider and WinHttp have been the cause.  

The problem seems to only occur when Eclipse is set to Native, and Windows has no proxy configured.  (Native is the default setting)

For example when exporting the p2 AdminUI RCP application if the proxy setting is Direct an export requires a few minutes, if the setting is switched to Native an export requires more than an hour to complete.

I've attached a stack trace from midway through an export.
Comment 1 Pascal Rapicault CLA 2010-06-02 13:33:57 EDT
Could you please take a look and see what is going on there? It looks like this has been the cause of several p2 issues in the past where ppl have been mentioning freeze of their network stack and so on.
Comment 2 Szymon Brandys CLA 2010-06-03 06:49:33 EDT
Pawel, please take a look at it.
Comment 3 Pawel Pogorzelski CLA 2010-06-07 05:51:17 EDT
I've checked it on 32-bit Windows 7 Professional. The code seems to work well, calls to native proxy code return immediately. However the machine I performed tests on is in the internal network so I couldn't perform a full update or a similar operation.

Matthew, please provide more information on your environment. Do you see freezes when calling getNonProxiedHostsUnsynchronized method of WinHttpProxyProvider in a self-hosted Eclipse?

Adding Stefan to CC, he provided native sources for Windows.
Comment 4 Stefan Liebig CLA 2010-06-07 07:19:47 EDT
I know of delays that can occur if WPAD (http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol) has been enabled (network settings).
Is this option enabled?
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:03:47 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 6 Eclipse Genie CLA 2022-02-14 03:23:47 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.