mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-19 20:27:01 +00:00
BUG/MEDIUM: cli/debug: Properly get the stream-int in all debug I/O handlers
The appctx owner is not a stream-interface anymore. It is now a conn-stream. In the cli I/O handler for the command "debug dev fd", we still handle it as a stream-interface. It is now fixed. It is 2.6-specific, no backport is needed.
This commit is contained in:
parent
9affa931cd
commit
fe14af30ec
@ -1040,7 +1040,7 @@ static int debug_parse_cli_fd(char **args, char *payload, struct appctx *appctx,
|
||||
*/
|
||||
static int debug_iohandler_fd(struct appctx *appctx)
|
||||
{
|
||||
struct stream_interface *si = appctx->owner;
|
||||
struct stream_interface *si = cs_si(appctx->owner);
|
||||
struct sockaddr_storage sa;
|
||||
struct stat statbuf;
|
||||
socklen_t salen, vlen;
|
||||
|
Loading…
Reference in New Issue
Block a user