This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Minor] Fix coroutine based error handling in lua http
tags/1.9.1
Vsevolod Stakhov
5 years ago
parent
438cc41ff7
commit
7b57f65917
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
src/lua/lua_http.c
+ 4
- 0
src/lua/lua_http.c
View File
@@ -937,6 +937,10 @@ lua_http_request (lua_State *L)
cbd->auth = auth;
cbd->task = task;
if (cbd->cbref == -1) {
cbd->thread = lua_thread_pool_get_running_entry (cfg->lua_thread_pool);
}
REF_INIT_RETAIN (cbd, lua_http_cbd_dtor);
if (task) {
Write
Preview
Loading…
Cancel
Save