Willy Tarreau
2018-11-29 08:03:34 UTC
Hi Adis,
I tried to be careful, but was worried at the same time, seeing that
Lua directly manipulates the stream interface's update functions. But
I don't know how to test for this, so I only relied on the reg tests
at the moment.
H2+HTX :-(
Cheers,
Willy
Hey guys,
After commit bf89ff3db8be1a8f87de305c144467bbc2503036
"MEDIUM: stream-int: make stream_int_update() aware of the lower layers"
I'm not able to use client sockets from tasks created with Lua (see
attached configuration and Lua script)
Ah crap :-(After commit bf89ff3db8be1a8f87de305c144467bbc2503036
"MEDIUM: stream-int: make stream_int_update() aware of the lower layers"
I'm not able to use client sockets from tasks created with Lua (see
attached configuration and Lua script)
I tried to be careful, but was worried at the same time, seeing that
Lua directly manipulates the stream interface's update functions. But
I don't know how to test for this, so I only relied on the reg tests
at the moment.
You will need LuaSocket library to run the test code, but I also get the
same issue without it (using raw core.tcp() and custom http library).
Before the commit cron works fine, connection and http layer (returns
404 since http.socket is a little bit stupid, but ignore that).
After the commit, http.socket reports 'Can't connect' (and 'connection
closed' afterwards). Debug log shows significant time spent in
'stream_int_chk_rcv_applet()'
OK thanks, I'll take a look at it once I've flushed my pending stuff onsame issue without it (using raw core.tcp() and custom http library).
Before the commit cron works fine, connection and http layer (returns
404 since http.socket is a little bit stupid, but ignore that).
After the commit, http.socket reports 'Can't connect' (and 'connection
closed' afterwards). Debug log shows significant time spent in
'stream_int_chk_rcv_applet()'
H2+HTX :-(
Cheers,
Willy