tcp: Rework client start error handling.
authorDoug Nazar <nazard@nazar.ca>
Wed, 21 Apr 2021 03:20:19 +0000 (23:20 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 22 Apr 2021 07:17:06 +0000 (07:17 +0000)
commit3676a2c6de61351350a1687c5fc645840e705abe
treeba6c33f5d68dc4cc9dbb1e0ee66cbaa60d45aad8
parent538e2ef1d039c857db26b916f9611f66d34412b9
tcp: Rework client start error handling.

Ensure errors are cleaned up properly at the right level.
Abort connection attempts if we're cancelled.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1115>
gst/tcp/gsttcpclientsink.c
gst/tcp/gsttcpclientsrc.c
gst/tcp/gsttcpelements.c