Hi,
I am playing around with the HttpClient and have some questions.
First of all I am trying to set the default timeout to something shorter then 20 seconds with the following code:
httpClient := Net.HttpClient new.
httpClient timeout: 2000.
request := Net.HttpRequest get:
'http://stakepoint.com/files/support/stakepointupdate137.cfgx'.
response := [httpClient executeRequest: request]
on: Error
do: [:exc | ^false].
Now inside request I do observe the clientPI timeout to be 2000 milliseconds however this seems totally ignored as the requests still takes over 20 seconds to execute.
The second question is wheter there is a smart way to know wheter I should try to connect through a proxy other then by trial and error (the above).
Regards,
@+Maarten,
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc