Question:
Hi I see the issue when i use SynchronousRequest with Get request here is example this works well without proxy but do not work with proxy (any proxy not just mine)
var req = new Chilkat.HttpRequest();
req.AddHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0");
req.AddHeader("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
req.AddHeader("Accept-Language", "en-us,en;q=0.5");
req.AddHeader("Accept-Encoding", "gzip, deflate");
req.AddHeader("Pragma", "no-cache");
req.AddHeader("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.7");
req.AddHeader("Connection", "keep-alive");
req.Charset = "utf-8";
Chilkat.Http http = new Chilkat.Http();
var success = http.UnlockComponent("trial");
http.FollowRedirects = true;
http.MimicFireFox = true;
http.CookieDir = "memory";
http.SendCookies = true;
http.SaveCookies = true;
http.ReadTimeout = 20;
http.ConnectTimeout = 20;
http.MaxResponseSize = 5242880;
http.ProxyDomain = "104.206.34.167";//put your proxy here
http.ProxyPort = 8800; //put your proxy port here
http.SessionLogFilename = "c:\\1.log";
http.AllowGzip=false ;
http.FollowRedirects=true;
var host = "chatroll.com";
req.SetFromUrl("http://chatroll.com");
req.UseGet();
var resp = http.SynchronousRequest(host, 80, false, req);
resp = http.SynchronousRequest(host, 443, true, req);
resp = http.SynchronousRequest(host, 80, false, req);
var ss= resp.BodyStr;// here i get HTTP/1.0 400 Bad Request
//The trick is when use simulteniously requests http then https then http
//please help i tried latest version on both c# and php
Thanks, I'll try to reproduce the problem. If I can reproduce the problem, then a fix should be easy. What is the exact build you would need? (i.e. .NET Framework version, etc.)
I did not encounter any problems with the very latest internal pre-release of Chilkat. Please let me know what build you need and I'll post a pre-release download URL..
Hi!
I need build for .net framework 4 - 32 and 64bit and for php
Here are the new .NET assembly builds:
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip
Once these are verified fixed, I can build PHP. Is the PHP for Windows, Linux (32 or 64-bit?), Mac OS X, etc.?
I still see same problem here is complete log as you see first request starts with full/absolute url
GET http://chatroll.com/ HTTP/1.1
but in third request
GET / HTTP/1.1
and I guess that actually makes problem as i stated before The absoluteURI form is REQUIRED when the request is being made to a proxy here is link https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html
---- Sending ----
GET http://chatroll.com/ HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Pragma: no-cache
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Host: chatroll.com
---- Received ----
HTTP/1.0 301 Moved Permanently
Server: nginx/1.4.7
Date: Wed, 06 Apr 2016 13:53:28 GMT
Content-Type: text/html
Content-Length: 184
Location: https://chatroll.com/
Connection: keep-alive
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.4.7</center>
</body>
</html>
---- Sending ----
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Pragma: no-cache
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Host: chatroll.com
---- Received ----
HTTP/1.1 200 OK
Server: nginx/1.4.7
Date: Wed, 06 Apr 2016 13:53:30 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Wed, 06 Apr 2016 13:53:29 GMT
Set-Cookie: JSESSIONID=zqeg8das1luu;Path=/;Domain=.chatroll.com
Set-Cookie: __ctma=7FdY_ttOMBt;Path=/;Expires=Fri, 06-Apr-18 13:53:30 GMT
Content-Language: en-US
Cache-Control: no-cache
Content-Encoding: gzip
10f7
‹ н[{sЫ6яЫюoо,OMТІУ6M$wRЗ№8M[7v›v:™DBc’` ИЉ®—п~їЕѓ"%?R_љ\f.3±ш ‹ЭЕѕ№9ёуи‡Гі_OЋШTщБжаNю–ЌЩс»чтЂ
и)Лy9ўX’sҐ†A&оxyз7Q¦Щшev&~uЭДЇ®љxзшие-ї¶*†ЭХ¦‚§›я:У№88њr]Л<gя(R®¦Ш©L2ћ3zОЖІf/ДHeZЁц'b$ещ;›gZ‹z[^!4gЙ”ЧJиa0Уг›mЅљj]…вчYv1~ zКўв:е’Ґ%ж
E:ќ™%/Д0ёИДј’µn
ћg©ћSq‘%"47;,+3Ќ
„*б№цЈЭK@ҐB%uVйLoьТУФlЫђCY2`?љiЙrVі№%ЭѓJ3QNшD@њс2eєжгq–Dм°\‹VрпН»Є–…Ф‚¤“Ґ…H”e ж”|•U. ^ж*bяЂКЖі<_аo™¶`МёЂ$rVк(`q›Д–Pзb1—uЄZ[«fЈ<SSЃ5d>#HjЗн°iЖY!KЎіЃІЬЙі:‚ГЬ¬jж;‚Ч%«Е…(gаЪ%‹Чr$u{йRКґj†ZyИітPтa ¦аh2У,6Еxђ¤Ёыq¬4рIBZxсs^рм_"ЌЂlњд‹э/щWЈ{сC
dбЏзёYЖЂЬт З`¶Љ&RNrБ«LE‰,вD©ЇЗјИтЕрЧтюЭЭЭќ/ww3Ну,Ў«<qwын«ќ~s‡«-іҐ-Ґ№ …ЮbzQ‰б–oЂ®R[–Wk4h&ьW(x}–“ёКg“¬T1„T+eE‹/пў"+#<йђЙrгЇВ„Ит№PІ™цѓЌK.ЮЁ<KEЏ›Л5Іtи)Оvhш8q}Я"ЖXЃia`є›=9ыоЩзLMіВ(‘зBUІLЈЧКЁжгЈ{LН*RЉLЋЭ`‘…¤М{ёџ‰:Љ‘Ѕ1Є ЙXељмМЋy
“`µ"SuІ<„R©Ёаo’2ѓіB†нs tпG_F{Л{#UЇ!TѓШ‚щ3Pk»±ёЭLwwД®A‹EЫЊdє8ШЬР=фсП^B
ZллЮ”ьbДлpњЅiЁeеЏБґпжrвu€!wz)¦НqGГxЪwW иgB=•!Э»Eкl2…Б‚ц‚Гіlb4¬[’Ђ;ТѓшiЦЂqіюћђ4гF3a?Ь¦ЬP-'РhЃU8Ѓ°”kЋ-Т«aђ@…тJaђ}Мл кї9НлоrfIUсfAU‡ІМББ™ЃK;u»г1о†й¤ЈCРЯИЙ>€-a–(bPЅuK< ЙYҐЙ
µ=а;8љ.a‚НтЦ/ Ъb<ЌЈѓ<kЌ
б M#rcx3€аа¤–й,С$Ѓѓ8Пє+ѕ¤ЄОXd.n
h>ч_LЌіt[HЮ(;5†Љ&88µљн¶Аc•MК¬ћЙ њ™?†8f8&рiЎ=ґa‰;r#]2ь7пЬoЁд:ехВ›pіьКеh°џ*ц~ЫеHв"#$]‘ґ
;B€ЊІ5Ф]K_Њ&ЎµhбЦѕ8]›нKCЗљ±,—<5±№±1XJ¬ЃDОБ/…У<fжoШ§УK"xхђЅ›‡м/‡XlёЅ»џНЁJ©?Ж‡fюЎы…6
Gђко†Б
]C@ОWАSґTЩLч<<Ѕ@‘Mы[ЯF<'9Ч€zЉБЁЋmЅgа”’<F`фC яR°#шВZ9ЭнU•_nt
crd"лфC}ТD>KбА&Ояїz-ДyЁіВЖНB•]‡TЕ5r‰Cїр]¤ТАшaK{2©-IsOUKР0ЗіД!вo+и-+Hmжi•—1з2оФ3ҐEКF&/АПЎ¦°Ї9ЩШp”# 9Шы|gwwЧС€ЙzВKФЁоД7б;qDА
ЎЕ*#ЫГ"Ћ8J3ъѓ->ЦrnKыґА0„EBФpЎ
wсF…_@иіbвy†ЛРє;
AWРuЅюTьіtяБс‰P1y1ц/V@а~UРюШ)Њ>ЕcН ю_Ж;!юэфWИ=(и‘D|zёKDэщ'€72OјN?=‚W#uТО.zЊЯҐZ^Є]тXЙ)уJЕл_гЁ‘5j)рЖ0:їb
»жт¬ж%‰qБ~Ґь”іx'PXЖp—РPҐОЮмЪЅ.ґGµ¬Lћ№¦РЁN$)ђcЃЇ,S“pry6“ѓ……+C№6QrдЇСЯЌ…фЉЯҐ¶Z)¬иљйЗzK1M‰>БХ"r@±±€ѓq6Ѓоiлп¬~п7
Ю]AГчбъђcґсЃфјЕHЕц7м[YBjЋPpOЌЇ`-{[†–"ґb№!9б2тёA„ZТеж„H®!євyќй]OGз{ЅЂьЏУL%Жј“8 пВьк_C¶о:zV78;ђы'ЬCA`2—ЯЙЪ9бЋ№Ћ&7°к L–H3Ї»7«ЊЁc’IIaВk9S"oЋ¬`lўЧHR!nчcd[ъ7рDТ,AжІvn;(
ЗЅж·‘noYЇ^Лa°Ы`D©_x$-7бЦ@ЫбВнQkGа—DМdNYKьZЃwйЋaGэQxЌм№Эљ™„ь™¶i"Dг№л§uraпН!ЛІjMе[,м¦ЂT{[¶Bбчѓ—Ј\&зїПPPргЎmьСЈjАCуqL±klc5CЇка…@6
uЃа\°R€>6gUЋ"›ЈR X%$•#PiИSWкЂчXPб#+1¶АaBYNЊ… ?( АЂBРq%‰Ћ#лЯЭ5e!P]ФЁkєt>щЬr®ШК
@нkO¦A5ѕlџMhҐ`“рй;$ѕЩ7BџsDmдШvВ6Єr?E§{$*^kS®ЃЛЉк”ЃЙYµVuЯhsЭb€MТ|<сђРzЭEыpt*©¶µр"ўґ6ш€PЭХЙІu@kTЎН””<з#v¬1я)i'cc!И( DЪ{*§e—
КіsTИ rВyC)чЭHЭmи[;BVм\Йтj:ґЗРVчИ=Ћ‡І(fЁ8.тО;мї@ЁX
г1±ЗаФURFхЩ8&‹Ѓeз[RgЯ‘¤-_ь‰ N_?ўуТД&°SЉR+Жqђ¦byЅв}@V’ИRХЪ
®ћ-У,$®)аВсpС8„ЊR.™гељЉ
џ5”љёЌ”=еђ.v€dвuBц(›PҐ‘щD;д‘p@Э=z±§жа|‡:7j{(л\%\ma2Ч>ЦVl^ЫH“пЩ@КЗ‡д№ JщMКД5ЮЃЯzЧцчШVЂ¤НDИцЄI3щ9cФЪoљtJыЎ1Ы.§rПзTъ°+pГЙе¶WHёИснЛј‹»GiЗЋфчЮEoќ(wНH@єЦµї$OEеz”љrUg2е‹;MTФ¶#н]¬ёЬЌ*Ъ±ДjdХшН)АО`^ЎЈк@±гЂМ№•lE’ЛsoІљт‚/
0S„¤0¤aqGЖf;+ћҐd
е/Ј¤6LЧ№ ¦±єЧЃсОё9j ЗР›>ЬІP;ме’dхj!љ°йµNфеч‚ЊКаTв»Пъ»Х›ћhѓ›‰«І¦Дг†аЯЛ№Нз;‡e‰rsе/Ьoыђ№G›ѓ1ЉфPJ.Д°w@ФtZ;·/B'2nАк zлO•Ї'ш1Л
ѓУ&lћМ0Ђ$ЪџѓЛiјНЇУЭ О]®—J%“)јЗтя;оыщ.@ьqFqъUѕ†к„—aЁ>Эї|}ѓCгВ+!'Юґnq5…ъ¶q?ј·»оно‡ыэ{ыFф<н_З©ц#іN·Nг__AT¤;О•'i“4АfZBVё) yHf‘Л$АфЉ)fЪІљc2Х304Ґ¤ЧL1УPТ№Uе±ѓr€Ч/7Ї†aТX/Ю©Юx5Є¶Кq—Wв:У;U№оpeќ_WЙЙҐ,DбS€лЄµсL!вk:µв5YёТ5ь@¤”фХTЌ:8<=eПмННњ Ъ#џСН$F$r?У/;›!уA№ЫЂ"яpR›® <nЭЭЪµ$уЯQ8|шг{†ы…rCАя‹уЉ!ЬDя „сбHО®i«иэЋ:&ЂѓЕgђ Ck=oБд8‹u&кЎ4ў¦ЖЦЫЂ‚ЪЅа цvb/Ш‰D+#тфWхЋшMv{ьS+@пAлБ·(I|CиjКнџ±†юdkЫщlЫF]"kЭЙpЈ¬›q3С
yЫ’еW»Ћл–уГЮuЅї‚Й(т=u„Гљ xgЧЛSkHыІe)СDbЕПЁн[5®.SьВ^vGVЫ‡·nіҐ{Зю‘атAіTѓ©k‰¤VюКкГа)їа§¦{ЬwЫQќ#~ЌЗvм
* Ѓ"Й:gЏђjZ[й¬_AЅ!†EиЙЈлЮцЪ(4lцЬH6`эЇvwЧЗРbљыэЊF®Ke2ЈDh4Їрyёл ІЅ^B:'эР-n*[w‰‚”‰wЁ…Й·›љ&й`ќЉЁжІ ЄћPЖyИz=Ч°бщb·dВЌхЋђ·Чюф6ыљ-[ИUЋ&щыцZКзуyl?Шl¦ЫэПJ|А+СюѕиXN™яЂ}¶Дб3ШОс}эщЅй¶|ВС‘Ыiц^JГЦЯчЏ У‘7Б6–_’х&"иzБюШ$RT?d“sD‹Cц
ќ¤С+H‹{ФрEЕахЮЮ—иПВ› С+ґЃ'з' AџQфих[В%УћШfјmaфњб)хгївйЕ+d†,xzчс“пяyтг“зOЋћюшши›/Ћю<Шt#«мЌщУу_~щещС·/ћ>~ёяГУ秇?џ=ы#{юЦBfЗ2OС+….5,1GЌЗГЮ?ШмЬвµџЬЫюѓтp3(Тl‘u=жp!Б_Мh$ 1kЩ¶й^а1(84њBVЊїќшERаm1днзv)¬!uхP#©‡6UСЫB1єL¶vШaїµEзќѓ±S'xoр†ИЖЇcЛp+И)HЌЌхzНю!Cnук›Еџ|ЏЇmz[Ф{јµНюэoц[‰њ—ЫїнѕДќ9н7LµЬўтуР2ЯГщЯЋЁ3±L§Yћц0Жn(ч6oяС\ц¶Яѕ}°щ¶Ч=,РИ#кuiiїюЅ—–*яEЕkjҐ_ ЖЮпG{—ф§xTЉЊў”цўюЗЕhщ№ЙлХЇMєЯ|@*58…Sj/Ў*и‘т#S
єyIJMТ‰„ЛdПZ|н…лг_µ‰…,›ЉпЯГXсЋZЏ>zЏ3Ќр^yњЖ™FФЇ>>ЛкҐжлЎ°АUњ‘8eфЅЙКВVEюЊв•d&OВћh=9®с…ПҐ¬>’–m.€kДБgpфќj3ж»Эя ©Юѓ3Й;
0
0
0
---- Sending ----
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Pragma: no-cache
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Cookie: JSESSIONID=zqeg8das1luu; __ctma=7FdY_ttOMBt
Host: chatroll.com
---- Received ----
HTTP/1.1 200 OK
Server: nginx/1.4.7
Date: Wed, 06 Apr 2016 13:53:31 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Content-Language: en-US
Expires: Wed, 06 Apr 2016 13:53:30 GMT
Cache-Control: no-cache
Content-Encoding: gzip
10f7
‹ н[{sЫ6яЫюoо,OMТІУ6M$wRЗ№8M[7v›v:™DBc’` ИЉ®—п~їЕѓ"%?R_љ\f.3±ш ‹ЭЕѕ№9ёуи‡Гі_OЋШTщБжаNю–ЌЩс»чтЂ
и)Лy9ўX’sҐ†A&оxyз7Q¦Щшev&~uЭДЇ®љxзшие-ї¶*†ЭХ¦‚§›я:У№88њr]Л<gя(R®¦Ш©L2ћ3zОЖІf/ДHeZЁц'b$ещ;›gZ‹z[^!4gЙ”ЧJиa0Уг›mЅљj]…вчYv1~ zКўв:е’Ґ%ж
E:ќ™%/Д0ёИДј’µn
ћg©ћSq‘%"47;,+3Ќ
„*б№цЈЭK@ҐB%uVйLoьТУФlЫђCY2`?љiЙrVі№%ЭѓJ3QNшD@њс2eєжгq–Dм°\‹VрпН»Є–…Ф‚¤“Ґ…H”e ж”|•U. ^ж*bяЂКЖі<_аo™¶`МёЂ$rVк(`q›Д–Pзb1—uЄZ[«fЈ<SSЃ5d>#HjЗн°iЖY!KЎіЃІЬЙі:‚ГЬ¬jж;‚Ч%«Е…(gаЪ%‹Чr$u{йRКґj†ZyИітPтa ¦аh2У,6Еxђ¤Ёыq¬4рIBZxсs^рм_"ЌЂlњд‹э/щWЈ{сC
dбЏзёYЖЂЬт З`¶Љ&RNrБ«LE‰,вD©ЇЗјИтЕрЧтюЭЭЭќ/ww3Ну,Ў«<qwын«ќ~s‡«-іҐ-Ґ№ …ЮbzQ‰б–oЂ®R[–Wk4h&ьW(x}–“ёКg“¬T1„T+eE‹/пў"+#<йђЙrгЇВ„Ит№PІ™цѓЌK.ЮЁ<KEЏ›Л5Іtи)Оvhш8q}Я"ЖXЃia`є›=9ыоЩзLMіВ(‘зBUІLЈЧКЁжгЈ{LН*RЉLЋЭ`‘…¤М{ёџ‰:Љ‘Ѕ1Є ЙXељмМЋy
“`µ"SuІ<„R©Ёаo’2ѓіB†нs tпG_F{Л{#UЇ!TѓШ‚щ3Pk»±ёЭLwwД®A‹EЫЊdє8ШЬР=фсП^B
ZллЮ”ьbДлpњЅiЁeеЏБґпжrвu€!wz)¦НqGГxЪwW иgB=•!Э»Eкl2…Б‚ц‚Гіlb4¬[’Ђ;ТѓшiЦЂqіюћђ4гF3a?Ь¦ЬP-'РhЃU8Ѓ°”kЋ-Т«aђ@…тJaђ}Мл кї9НлоrfIUсfAU‡ІМББ™ЃK;u»г1о†й¤ЈCРЯИЙ>€-a–(bPЅuK< ЙYҐЙ
µ=а;8љ.a‚НтЦ/ Ъb<ЌЈѓ<kЌ
б M#rcx3€аа¤–й,С$Ѓѓ8Пє+ѕ¤ЄОXd.n
h>ч_LЌіt[HЮ(;5†Љ&88µљн¶Аc•MК¬ћЙ њ™?†8f8&рiЎ=ґa‰;r#]2ь7пЬoЁд:ехВ›pіьКеh°џ*ц~ЫеHв"#$]‘ґ
;B€ЊІ5Ф]K_Њ&ЎµhбЦѕ8]›нKCЗљ±,—<5±№±1XJ¬ЃDОБ/…У<fжoШ§УK"xхђЅ›‡м/‡XlёЅ»џНЁJ©?Ж‡fюЎы…6
Gђко†Б
]C@ОWАSґTЩLч<<Ѕ@‘Mы[ЯF<'9Ч€zЉБЁЋmЅgа”’<F`фC яR°#шВZ9ЭнU•_nt
crd"лфC}ТD>KбА&Ояїz-ДyЁіВЖНB•]‡TЕ5r‰Cїр]¤ТАшaK{2©-IsOUKР0ЗіД!вo+и-+Hmжi•—1з2оФ3ҐEКF&/АПЎ¦°Ї9ЩШp”# 9Шы|gwwЧС€ЙzВKФЁоД7б;qDА
ЎЕ*#ЫГ"Ћ8J3ъѓ->ЦrnKыґА0„EBФpЎ
wсF…_@иіbвy†ЛРє;
AWРuЅюTьіtяБс‰P1y1ц/V@а~UРюШ)Њ>ЕcН ю_Ж;!юэфWИ=(и‘D|zёKDэщ'€72OјN?=‚W#uТО.zЊЯҐZ^Є]тXЙ)уJЕл_гЁ‘5j)рЖ0:їb
»жт¬ж%‰qБ~Ґь”іx'PXЖp—РPҐОЮмЪЅ.ґGµ¬Lћ№¦РЁN$)ђcЃЇ,S“pry6“ѓ……+C№6QrдЇСЯЌ…фЉЯҐ¶Z)¬иљйЗzK1M‰>БХ"r@±±€ѓq6Ѓоiлп¬~п7
Ю]AГчбъђcґсЃфјЕHЕц7м[YBjЋPpOЌЇ`-{[†–"ґb№!9б2тёA„ZТеж„H®!євyќй]OGз{ЅЂьЏУL%Жј“8 пВьк_C¶о:zV78;ђы'ЬCA`2—ЯЙЪ9бЋ№Ћ&7°к L–H3Ї»7«ЊЁc’IIaВk9S"oЋ¬`lўЧHR!nчcd[ъ7рDТ,AжІvn;(
ЗЅж·‘noYЇ^Лa°Ы`D©_x$-7бЦ@ЫбВнQkGа—DМdNYKьZЃwйЋaGэQxЌм№Эљ™„ь™¶i"Dг№л§uraпН!ЛІjMе[,м¦ЂT{[¶Bбчѓ—Ј\&зїПPPргЎmьСЈjАCуqL±klc5CЇка…@6
uЃа\°R€>6gUЋ"›ЈR X%$•#PiИSWкЂчXPб#+1¶АaBYNЊ… ?( АЂBРq%‰Ћ#лЯЭ5e!P]ФЁkєt>щЬr®ШК
@нkO¦A5ѕlџMhҐ`“рй;$ѕЩ7BџsDmдШvВ6Єr?E§{$*^kS®ЃЛЉк”ЃЙYµVuЯhsЭb€MТ|<сђРzЭEыpt*©¶µр"ўґ6ш€PЭХЙІu@kTЎН””<з#v¬1я)i'cc!И( DЪ{*§e—
КіsTИ rВyC)чЭHЭmи[;BVм\Йтj:ґЗРVчИ=Ћ‡І(fЁ8.тО;мї@ЁX
г1±ЗаФURFхЩ8&‹Ѓeз[RgЯ‘¤-_ь‰ N_?ўуТД&°SЉR+Жqђ¦byЅв}@V’ИRХЪ
®ћ-У,$®)аВсpС8„ЊR.™гељЉ
џ5”љёЌ”=еђ.v€dвuBц(›PҐ‘щD;д‘p@Э=z±§жа|‡:7j{(л\%\ma2Ч>ЦVl^ЫH“пЩ@КЗ‡д№ JщMКД5ЮЃЯzЧцчШVЂ¤НDИцЄI3щ9cФЪoљtJыЎ1Ы.§rПзTъ°+pГЙе¶WHёИснЛј‹»GiЗЋфчЮEoќ(wНH@єЦµї$OEеz”љrUg2е‹;MTФ¶#н]¬ёЬЌ*Ъ±ДjdХшН)АО`^ЎЈк@±гЂМ№•lE’ЛsoІљт‚/
0S„¤0¤aqGЖf;+ћҐd
е/Ј¤6LЧ№ ¦±єЧЃсОё9j ЗР›>ЬІP;ме’dхj!љ°йµNфеч‚ЊКаTв»Пъ»Х›ћhѓ›‰«І¦Дг†аЯЛ№Нз;‡e‰rsе/Ьoыђ№G›ѓ1ЉфPJ.Д°w@ФtZ;·/B'2nАк zлO•Ї'ш1Л
ѓУ&lћМ0Ђ$ЪџѓЛiјНЇУЭ О]®—J%“)јЗтя;оыщ.@ьqFqъUѕ†к„—aЁ>Эї|}ѓCгВ+!'Юґnq5…ъ¶q?ј·»оно‡ыэ{ыFф<н_З©ц#іN·Nг__AT¤;О•'i“4АfZBVё) yHf‘Л$АфЉ)fЪІљc2Х304Ґ¤ЧL1УPТ№Uе±ѓr€Ч/7Ї†aТX/Ю©Юx5Є¶Кq—Wв:У;U№оpeќ_WЙЙҐ,DбS€лЄµсL!вk:µв5YёТ5ь@¤”фХTЌ:8<=eПмННњ Ъ#џСН$F$r?У/;›!уA№ЫЂ"яpR›® <nЭЭЪµ$уЯQ8|шг{†ы…rCАя‹уЉ!ЬDя „сбHО®i«иэЋ:&ЂѓЕgђ Ck=oБд8‹u&кЎ4ў¦ЖЦЫЂ‚ЪЅа цvb/Ш‰D+#тфWхЋшMv{ьS+@пAлБ·(I|CиjКнџ±†юdkЫщlЫF]"kЭЙpЈ¬›q3С
yЫ’еW»Ћл–уГЮuЅї‚Й(т=u„Гљ xgЧЛSkHыІe)СDbЕПЁн[5®.SьВ^vGVЫ‡·nіҐ{Зю‘атAіTѓ©k‰¤VюКкГа)їа§¦{ЬwЫQќ#~ЌЗvм
* Ѓ"Й:gЏђjZ[й¬_AЅ!†EиЙЈлЮцЪ(4lцЬH6`эЇvwЧЗРbљыэЊF®Ke2ЈDh4Їрyёл ІЅ^B:'эР-n*[w‰‚”‰wЁ…Й·›љ&й`ќЉЁжІ ЄћPЖyИz=Ч°бщb·dВЌхЋђ·Чюф6ыљ-[ИUЋ&щыцZКзуyl?Шl¦ЫэПJ|А+СюѕиXN™яЂ}¶Дб3ШОс}эщЅй¶|ВС‘Ыiц^JГЦЯчЏ У‘7Б6–_’х&"иzБюШ$RT?d“sD‹Cц
ќ¤С+H‹{ФрEЕахЮЮ—иПВ› С+ґЃ'з' AџQфих[В%УћШfјmaфњб)хгївйЕ+d†,xzчс“пяyтг“зOЋћюшши›/Ћю<Шt#«мЌщУу_~щещС·/ћ>~ёяГУ秇?џ=ы#{юЦBfЗ2OС+….5,1GЌЗГЮ?ШмЬвµџЬЫюѓтp3(Тl‘u=жp!Б_Мh$ 1kЩ¶й^а1(84њBVЊїќшERаm1днзv)¬!uхP#©‡6UСЫB1єL¶vШaїµEзќѓ±S'xoр†ИЖЇcЛp+И)HЌЌхzНю!Cnук›Еџ|ЏЇmz[Ф{јµНюэoц[‰њ—ЫїнѕДќ9н7LµЬўтуР2ЯГщЯЋЁ3±L§Yћц0Жn(ч6oяС\ц¶Яѕ}°щ¶Ч=,РИ#кuiiїюЅ—–*яEЕkjҐ_ ЖЮпG{—ф§xTЉЊў”цўюЗЕhщ№ЙлХЇMєЯ|@*58…Sj/Ў*и‘т#S
єyIJMТ‰„ЛdПZ|н…лг_µ‰…,›ЉпЯГXсЋZЏ>zЏ3Ќр^yњЖ™FФЇ>>ЛкҐжлЎ°АUњ‘8eфЅЙКВVEюЊв•d&OВћh=9®с…ПҐ¬>’–m.€kДБgpфќj3ж»Эя ©Юѓ3Й;
0
0
0
---- Sending ----
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Pragma: no-cache
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Cookie: JSESSIONID=zqeg8das1luu; __ctma=7FdY_ttOMBt
Host: chatroll.com
---- Received ----
HTTP/1.0 400 Bad Request
Server: squid/3.1.9
Mime-Version: 1.0
Date: Wed, 06 Oct 2010 10:52:58 GMT
Content-Type: text/html
Content-Length: 3122
X-Squid-Error: ERR_INVALID_URL 0
Connection: close
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!-- /*
Stylesheet for Squid Error pages
Adapted from design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/
/* Page basics */
* {
font-family: verdana, sans-serif;
}
html body {
margin: 0;
padding: 0;
background: #efefef;
font-size: 12px;
color: #1e1e1e;
}
/* Page displayed title area */
#titles {
margin-left: 15px;
padding: 10px;
padding-left: 100px;
background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
}
/* initial title */
#titles h1 {
color: #000000;
}
#titles h2 {
color: #000000;
}
/* special event: FTP success page titles */
#titles ftpsuccess {
background-color:#00ff00;
width:100%;
}
/* Page displayed body content area */
#content {
padding: 10px;
background: #ffffff;
}
/* General text */
p {
}
/* error brief description */
#error p {
}
/* some data which may have caused the problem */
#data {
}
/* the error message received from the system or other software */
#sysmsg {
}
pre {
font-family:sans-serif;
}
/* special event: FTP / Gopher directory listing */
#dirmsg {
font-family: courier;
color: black;
font-size: 10pt;
}
#dirlisting {
margin-left: 2%;
margin-right: 2%;
}
#dirlisting tr.entry td.icon,td.filename,td.size,td.date {
border-bottom: groove;
}
#dirlisting td.size {
width: 50px;
text-align: right;
padding-right: 5px;
}
/* horizontal lines */
hr {
margin: 0;
}
/* page displayed footer area */
#footer {
font-size: 9px;
padding-left: 10px;
}
body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; float: right; } --></style> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr> <div id="content"> <p>The following error was encountered while trying to retrieve the URL: <a href="/">/</a></p> <blockquote id="error"> <p><b>Invalid URL</b></p> </blockquote> <p>Some aspect of the requested URL is incorrect.</p> <p>Some possible problems are:</p> <ul> <li><p>Missing or incorrect access protocol (should be <q>http://</q> or similar)</p></li> <li><p>Missing hostname</p></li> <li><p>Illegal double-escape in the URL-Path</p></li> <li><p>Illegal character in hostname; underscores are not allowed.</p></li> </ul> <p>Your cache administrator is <a href="mailto:root?subject=CacheErrorInfo%20-%20ERR_INVALID_URL&body=CacheHost%3A%20host%0D%0AErrPage%3A%20ERR_INVALID_URL%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Wed,%2006%20Oct%202010%2010%3A52%3A58%20GMT%0D%0A%0D%0AClientIP%3A%2047.61.29.47%0D%0A%0D%0AHTTP%20Request%3A%0D%0A%0D%0A%0D%0A">root</a>.</p> <br> </div> <hr> <div id="footer"> <p>Generated Wed, 06 Oct 2010 10:52:58 GMT by host (squid/3.1.9)</p> <!-- ERR_INVALID_URL --> </div> </body></html>
Strange... I tested using your exact code snippet w/ SynchronousRequest and did not find any problem. Did you check the contents of LastErrorText to ensure you're using the new build?
yes i did check LastErrorText = "ChilkatLog:rn LastResponseHeader:rn DllDate: Apr 6 2016rn ChilkatVersion: 9.5.0.58rn UnlockPrefix: OLEKSAHttprn Username: ALEXKRULIKE57C:sasharn Architecture: Little Endian; 32-bitrn Language: .NET 4.0rn VerboseLoggin...
i just sent you email please reply to it with your ip - I will enable my proxy for you and you will see error
Thanks, I reproduced the error.
One note though: When the connection is SSL/TLS, then the CONNECT method is used to establish the proxy connection, and in this case the client does not use the full URL in the HTTP start line. You'll notice that the 1st request is port 80 non-SSL/TLS, and Chilkat correctly uses the full URL in the start line. The server responds with a redirect, and the redirect URL is "https://". Chilkat then succesfully sends the request and receives a "200 OK" response with just "/" in the start line. This is correct.
The error arises in the 3rd request which is port 80, non-SSL/TLS, and Chilkat is NOT using the full URL here. I'll find out why.
To summarize: the full URL is used for non-SSL/TLS, and the path-only is used for SSL/TLS.
I found the problem and made the fix. Here's the new build:
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip
Thank you!
I confirm that all all works well now please make bulds for Linux Chilkat PHP 5.4. 64-bit Chilkat PHP 5.4. 32-bit