wandenberg / redis_nginx_adapter

Adapter to use hiredis with async connections inside a nginx module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

event attach does not check for error

whatvn opened this issue · comments

commented

redis_nginx_event_attach(ac);

redis_nginx_event_attach won't add event data into current context if there's error.
This could cause error later if we use context.
Should we just clean up data and return error instead of keep going likes the current way?