Bugzilla – Bug 2217
mutliple async http requests can't be issued at the same time
Last modified: 2008-09-15 14:36:01 UTC
There are some globals hanging around such that multiple async http requests can't be handled at the same time.
The symptom of this bug is that multiple SimpleAsyncHTTP calls cannot be active at the same time.
Dan - I'm unable to reproduce this using the trunk. I've installed your Testing.pm: 2005-09-30 11:26:55.5584 in Testing init 2005-09-30 11:26:55.5602 SimpleAsyncHTTP: getting http://www.slimdevices.com 2005-09-30 11:26:55.5622 AsyncHTTP: Connecting to www.slimdevices.com 2005-09-30 11:26:55.6436 AsyncHTTP: Sending request: GET / HTTP/1.1 Connection: close Host: www.slimdevices.com Icy-Metadata: 1 User-Agent: iTunes/4.7.1 (Macintosh; N; Mac OS X 10.4.2 (8C46); ppc-darwin; EN; utf8) SlimServer/ 6.2b1/trunk Cache-Control: no-cache Accept: */* 2005-09-30 11:26:55.9843 SimpleAsyncHTTP(http://www.slimdevices.com) destroy called.
Created attachment 879 [details] Testing.pm plugin This is a plugin example that shows the bug. Run the server with --d_plugins, if the SimpleAsyncHttp is working correctly you should get two printouts from the callbacks (one for each get). The second instantiation of SimpleAsyncHttp wipes out the first one in progress.
Dan - fixed in subversion change 4553