help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Swazoo bug with 2 consecutive AJAX post requests


From: nico
Subject: [Help-smalltalk] Swazoo bug with 2 consecutive AJAX post requests
Date: Tue, 10 Mar 2009 12:08:02 +0100

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]