On Mon, 29 Jul 2013 02:21:39 GMT, Manu Evans wrote:
I am definitely being lynched by the fact that there is no FLS, no user variables field in HTTPServerRequest (both would be useful). I can't carry variables with me throughout the route.
Just to be picking nits, there is setTaskLocal
and getTaskLocal
for Variant
based FLS and the HTTPServerRequest.params
field for string
user variables ;)
But, more importantly, I've hacked together a quick TaskLocal
template that stores task local (currently just fiber local, where the only difference is variable life time) variables in a per-fiber linear array (fibers are reused for consecutive tasks). See this commit. I'll look into a transition path for string
-> Variant
when I'm back from my current journey.