DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17487>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17487

waitForResponse is using busy wait





------- Additional Comments From [EMAIL PROTECTED]  2003-02-27 15:06 -------
Dan
waitForResponse at the moment is used for just one highly specific case, namely
waiting for 100-continue response. When communicating with compliant HTTP 1.1
server HttpClient does not spend much time polling at all. In 99% cases
intensive CPU-bound polling does not take place. Therefore I am extremely
reluctant to introduce an extra thread per request to cover only 1% of cases. Do
you think that putting the request thread to sleep for 10-25 ms prior to
repeating the data poll would be an acceptable solution? Should waitForResponse
ever be used elsewhere, we would consider using a watcher thread  

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to