GsDevKit / zinc

Zinc HTTP Components is an open-source Smalltalk framework to deal with the HTTP networking protocol.
MIT License
4 stars 10 forks source link

Use SessionTemps instead of TransientStackValue #106

Closed ramauers closed 2 months ago

ramauers commented 3 months ago

Hi Dale,

this is a fix inspired by the discussion in issue 74. It greatly improves stability of a Zinc server in my setups (currently running gs3.7.0). Without this fix, Zinc won't survive such a simple load-loop...

while true; do curl localhost:9001; done

... for more than a few minutes or so. After applying the fix it seems to run rock-solid. This fix uses SessionTemps. I don't know if they exist all along or where introduced in a recent gs version.

Br, Ralph

dalehenrich commented 2 months ago

the failures are due to a different issue (#107), so I'll go ahead and merge your request ... sorry for the delay ...