Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007018 [Squeak] Network minor always 04-14-08 09:46 07-03-08 13:16
Reporter dr View Status public  
Assigned To
Priority normal Resolution open  
Status assigned   Product Version
Summary 0007018: HTTPSocket doesn't work when using a proxy server
Description In all recent squeak-dev images, HTTPSocket does not work for me to get a document as I'm using a proxy server.
The reason for this is that in HTTPSocket class >> httpGetDocument: url args: args accept: mimeType request: requestString two instance variables are referenced that do not exist in that class: HTTPProxyServer and HTTPProxyPort. If I replace these variables with message sends 'self httpProxyServer' resp. 'self httpProxyPort' in the mentioned method, everything works.

Not sure where to report this bug, so I added it here. Feel free to move it to an appropriate category.

This bug is related to 0002753, but is still different as the GET and not the POST method is failing, and can get fixed quite easily.
Additional Information To reproduce the error you need to use a proxy. Then you can eg. try to open a Monticello repository.
Attached Files

- Relationships

- Notes
(0012321 - 688 - 730 - 730 - 730 - 730 - 730)
fusqueak
07-03-08 13:11
edited on: 07-03-08 19:30

HTTPSocket>>httpGetDocument: url args: args accept: mimeType request: requestString is using HTTPProxyServer and HTTPProxyPort as classvariables which don't exist.
Replacing these to varialble with an call of self httpProxyServer and self httpProxyPort take the settings in the Preferences into account.
This was only a first shot solving a today problem without tests and other environments.
This bug is in 3.10 . The 3.9 release have the class side calls mentioned in the previous note.
The version history of HTTPSocket in 3.10 is a little bit confusing. In first place is a version from 2004 and after the last ist a version from 2003. It seems there was a change to the worse

 

- Issue History
Date Modified Username Field Change
04-14-08 09:46 dr New Issue
04-14-08 09:46 dr Status new => assigned
04-14-08 09:46 dr Assigned To  => Damien Cassou
04-14-08 10:50 Damien Cassou Project Squeak Packages => Squeak
04-14-08 10:51 Damien Cassou Assigned To Damien Cassou =>
04-14-08 10:51 Damien Cassou Category Squeak-Dev => Network
07-03-08 13:11 fusqueak Note Added: 0012321
07-03-08 13:11 fusqueak Issue Monitored: fusqueak
07-03-08 13:16 fusqueak Note Added: 0012322
07-03-08 19:21 fusqueak Note Deleted: 0012322
07-03-08 19:21 fusqueak Note Edited: 0012321
07-03-08 19:30 fusqueak Note Edited: 0012321


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
52 total queries executed.
33 unique queries executed.
Powered by Mantis Bugtracker