redis_nginx_adapter icon indicating copy to clipboard operation
redis_nginx_adapter copied to clipboard

event attach does not check for error

Open whatvn opened this issue 6 years ago • 0 comments

https://github.com/wandenberg/redis_nginx_adapter/blob/f3f3cbd47b2c63d72cc315d3d2acf8ae6bfb2c99/redis_nginx_adapter.c#L75

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?

whatvn avatar Mar 14 '19 10:03 whatvn