delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <CA+7conm95zJ=DYCFGy6njLaj3TB9FQE=sZ-hOQkmSqgHOrcLQw@mail.gmail.com> |
References: | <CA+7conm95zJ=DYCFGy6njLaj3TB9FQE=sZ-hOQkmSqgHOrcLQw AT mail DOT gmail DOT com> |
Date: | Sat, 11 Aug 2012 17:50:06 +0200 |
Message-ID: | <CA+7conmGmHA7wBuy6=FGgCCULX96vA-Lwh8x82t8L6bxrtp-xA@mail.gmail.com> |
Subject: | Re: setup.exe and cntlm proxy |
From: | Pawel Jasinski <pawel DOT jasinski AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--e89a8ff1cb682dc14f04c6ff6adc Content-Type: text/plain; charset=ISO-8859-1 hi, patch attached. What are the chances to get it into official setup release? Cheers, Pawel On Wed, Aug 8, 2012 at 6:58 PM, Pawel Jasinski <pawel DOT jasinski AT gmail DOT com> wrote: > hi, > > does anybody use cntlm proxy with cygwin setup.exe? > I have tried it and looks a bit strange. > First of all, cntlm proxy with browser works fine, so does wget. > With setup.exe works only if the proxy is in single thread mode (all > request are serialized). Otherwise setup.exe gets stuck attempting to > get mirrors.lst > What is interesting, when I fire up wireshark, I can see mirrors.lst > being received by cntlm. > > Cheers, > Pawel --e89a8ff1cb682dc14f04c6ff6adc Content-Type: application/octet-stream; name="cntlm.patch" Content-Disposition: attachment; filename="cntlm.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h5qvoepm0 LS0tIHNldHVwL2dldHVybC5jYyAgICAgMjAwOC0wMi0yMiAwMTowMzo1OC4w MDAwMDAwMDAgKzAxMDAKKysrIHNldHVwLmNudGxtZml4L2dldHVybC5jYyAg ICAyMDEyLTA4LTExIDE3OjE2OjI5LjA0Njg3NTAwMCArMDIwMApAQCAtMTIy LDkgKzEyMiwxNCBAQAogICAgICAgbG9nIChMT0dfQkFCQkxFKSA8PCAgImdl dFVybFRvU3RyZWFtIGZhaWxlZCEiIDw8IGVuZExvZzsKICAgICAgIHRocm93 IG5ldyBFeGNlcHRpb24gKFRPU1RSSU5HKF9fTElORV9fKSAiICIgX19GSUxF X18sICJFcnJvciBvcGVuaW5nIHVybCIsICBBUFBFUlJfSU9fRVJST1IpOwog ICAgIH0KKyAgdW5zaWduZWQgaW50IG91dHN0YW5kaW5nID0gMDsKKyAgaWYg KG4tPmZpbGVfc2l6ZSkgLy8gQ29udGVudC1MZW5ndGgKKyAgICB7CisgICAg ICBtYXhfYnl0ZXMgPSBuLT5maWxlX3NpemU7CisgICAgICBvdXRzdGFuZGlu ZyA9IG4tPmZpbGVfc2l6ZTsKKyAgICAgIGxvZyAoTE9HX0JBQkJMRSkgPDwg ImdldFVybFRvU3RyZWFtICIgPDwgIkNvbnRlbnQtTGVuZ3RoOiAiIDw8IG1h eF9ieXRlcyA8PCBlbmRMb2c7CisgICAgfQoKLSAgaWYgKG4tPmZpbGVfc2l6 ZSkKLSAgICBtYXhfYnl0ZXMgPSBuLT5maWxlX3NpemU7CgogICBpbnQgdG90 YWxfYnl0ZXMgPSAwOwogICBwcm9ncmVzcyAoMCk7CkBAIC0xMzIsMTMgKzEz NywyNyBAQAogICAgIHsKICAgICAgIGNoYXIgYnVmWzIwNDhdOwogICAgICAg c3NpemVfdCBybGVuLCB3bGVuOwotICAgICAgcmxlbiA9IG4tPnJlYWQgKGJ1 ZiwgMjA0OCk7CisgICAgICBpZiAgKG4tPmZpbGVfc2l6ZSkKKyAgICAgICAg eworICAgICAgICAgIGlmIChvdXRzdGFuZGluZz09MCkKKyAgICAgICAgICAg IGJyZWFrOworICAgICAgICAgIHJsZW4gPSBuLT5yZWFkKGJ1ZixtaW4oc2l6 ZW9mIGJ1ZixvdXRzdGFuZGluZykpOworICAgICAgICAgIG91dHN0YW5kaW5n IC09IHJsZW47CisgICAgICAgIH0KKyAgICAgIGVsc2UKKyAgICAgICAgewor ICAgICAgICAgICBybGVuID0gbi0+cmVhZCAoYnVmLCBzaXplb2YgYnVmKTsK KyAgICAgICAgfQorCiAgICAgICBpZiAocmxlbiA+IDApCiAgICAgICAgewog ICAgICAgICAgd2xlbiA9IG91dHB1dC0+d3JpdGUgKGJ1Ziwgcmxlbik7CiAg ICAgICAgICBpZiAod2xlbiAhPSBybGVuKQotICAgICAgICAgICAvKiBGSVhN RTogU2hvdyBhbiBlcnJvciBtZXNzYWdlICovCi0gICAgICAgICAgIGJyZWFr OworICAgICAgICAgICAgeworICAgICAgICAgICAgIC8qIEZJWE1FOiBTaG93 IGFuIGVycm9yIG1lc3NhZ2UgKi8KKyAgICAgICAgICAgICAgbG9nIChMT0df QkFCQkxFKSA8PCAiZ2V0VXJsVG9TdHJlYW0gdW5hYmxlIHRvIHdyaXRlIiA8 PCBlbmRMb2c7CisgICAgICAgICAgICAgYnJlYWs7CisgICAgICAgICAgICB9 CiAgICAgICAgICB0b3RhbF9ieXRlcyArPSBybGVuOwogICAgICAgICAgcHJv Z3Jlc3MgKHRvdGFsX2J5dGVzKTsKICAgICAgICB9CkBAIC0yMzMsOSArMjUy LDEyIEBACiAgICAgICAgZXJyID0gIih1bmtub3duIGVycm9yKSI7CiAgICAg ICBmYXRhbCAob3duZXIsIElEU19FUlJfT1BFTl9XUklURSwgX2ZpbGVuYW1l LmNfc3RyKCksIGVycik7CiAgICAgfQotCisgIHVuc2lnbmVkIGludCBvdXRz dGFuZGluZyA9IDA7CiAgIGlmIChuLT5maWxlX3NpemUpCi0gICAgbWF4X2J5 dGVzID0gbi0+ZmlsZV9zaXplOworICAgIHsKKyAgICAgIG1heF9ieXRlcyA9 IG4tPmZpbGVfc2l6ZTsKKyAgICAgIG91dHN0YW5kaW5nID0gbWF4X2J5dGVz OworICAgIH0KCiAgIGludCB0b3RhbF9ieXRlcyA9IDA7CiAgIHByb2dyZXNz ICgwKTsKQEAgLTI0Myw3ICsyNjUsMTcgQEAKICAgICB7CiAgICAgICBjaGFy IGJ1Zls4MTkyXTsKICAgICAgIGludCBjb3VudDsKLSAgICAgIGNvdW50ID0g bi0+cmVhZCAoYnVmLCBzaXplb2YgKGJ1ZikpOworICAgICAgaWYgKG4tPmZp bGVfc2l6ZSkKKyAgICAgICAgeworICAgICAgICAgIGlmIChvdXRzdGFuZGlu Zz09MCkKKyAgICAgICAgICAgIGJyZWFrOworICAgICAgICAgIGNvdW50ID0g bi0+cmVhZCAoYnVmLCBtaW4oc2l6ZW9mIGJ1ZixvdXRzdGFuZGluZykpOwor ICAgICAgICAgIG91dHN0YW5kaW5nLT1jb3VudDsKKyAgICAgICAgfQorICAg ICAgZWxzZQorICAgICAgICB7CisgICAgICAgICAgY291bnQgPSBuLT5yZWFk IChidWYsIHNpemVvZiBidWYpOworICAgICAgICB9CiAgICAgICBpZiAoY291 bnQgPD0gMCkKICAgICAgICBicmVhazsKICAgICAgIGZ3cml0ZSAoYnVmLCAx LCBjb3VudCwgZik7Cg== --e89a8ff1cb682dc14f04c6ff6adc Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --e89a8ff1cb682dc14f04c6ff6adc--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |