Hi,

I've found a bug in Swazoo with 2 consecutive AJAX post requests. This
bug only occurs with the gst port.

When the first request is handled the HTTPConnection is closed, so for
the second request, a new HTTPConnection is created.

The new connection produces a response for the second request and close
itself (like with all POST requests, see
HTTPConnection>>procudeResponseFor:), but somehow and this is really
strange, #getAndDispatchMessages is called again, like if the process
was still running and loops in #interact...

A quick and really dirty patch is to add at the beginning of
#getAndDispatchMessages a test to see if the connection is closed...but
it's really a hack.

I'm not sure if it's a gst or Swazoo bug...and I can't find the reason.

Any idea?

Cheers!

Nico

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to