[Seaside] [ANN] Seaside 3.0.7 release

Sven Van Caekenberghe sven at beta9.be
Tue Apr 3 13:30:41 UTC 2012


On 03 Apr 2012, at 15:17, Sebastian Sastre wrote:

> I needed that customization.
> 
> What I didn't get was the difference between the multithreaded and the managed multithreaded 
> 
> which is better for what?

---
Name: Zinc-HTTP-SvenVanCaekenberghe.248
Author: SvenVanCaekenberghe
Time: 4 March 2012, 8:25:19 pm
UUID: aaab5645-ed48-4174-bdb5-53037fb297db
Ancestors: Zinc-HTTP-SvenVanCaekenberghe.247

Switched ZnServer class>>#defaultServerClass to ZnManagingMultiThreadedServer;
[…]
---

ZnManagingMultiThreadedServer differs from its superclass ZnMultiThreadedServer in that it keeps explicit track of each (kept-alive) client connection. Tracking open client connections is important to correctly handle the case where people save an image with a running server. Before, that sometimes resulted in crashes of all kinds because even though the server (socket) itself came back up correctly, it happened that client worker process kept reading or writing to (now) stale socket streams. Now, when the server shuts down (#stop's) it closes all client connections explicitly. 

Sven


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4334 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120403/67aa845a/smime-0001.bin


More information about the seaside mailing list