mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-17 19:36:22 +00:00
skip further processing on TLS error
While reading through the code this seemed logical to do. I haven't seen this occuring in the wild! Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -8,6 +8,7 @@ BinPackParameters: 'false'
|
|||||||
BreakBeforeBraces: Linux
|
BreakBeforeBraces: Linux
|
||||||
ColumnLimit: '80'
|
ColumnLimit: '80'
|
||||||
DerivePointerAlignment: 'false'
|
DerivePointerAlignment: 'false'
|
||||||
|
IndentGotoLabels: false
|
||||||
IndentWidth: '4'
|
IndentWidth: '4'
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
SortIncludes: 'false'
|
SortIncludes: 'false'
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ void xmpp_run_once(xmpp_ctx_t *ctx, unsigned long timeout)
|
|||||||
xmpp_debug(ctx, "xmpp", "Send error occurred, disconnecting.");
|
xmpp_debug(ctx, "xmpp", "Send error occurred, disconnecting.");
|
||||||
conn->error = ECONNABORTED;
|
conn->error = ECONNABORTED;
|
||||||
conn_disconnect(conn);
|
conn_disconnect(conn);
|
||||||
|
goto NEXT_ITEM;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,7 +155,7 @@ void xmpp_run_once(xmpp_ctx_t *ctx, unsigned long timeout)
|
|||||||
conn->error = ECONNABORTED;
|
conn->error = ECONNABORTED;
|
||||||
conn_disconnect(conn);
|
conn_disconnect(conn);
|
||||||
}
|
}
|
||||||
|
NEXT_ITEM:
|
||||||
connitem = connitem->next;
|
connitem = connitem->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user