pluginloader: check read/write before closed
authorWim Taymans <wim.taymans@gmail.com>
Mon, 18 Nov 2013 20:39:54 +0000 (21:39 +0100)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 18 Nov 2013 20:46:11 +0000 (21:46 +0100)
commitf8dd5550c2da2c0eacb36f04c237e39f6ad5b83d
tree5b435df4953e974b8098ec9094a56b962515e9c4
parent388f0ec06945d132265ed62e5e6d8f1bcf1155ee
pluginloader: check read/write before closed

first try to read or write on the socket before checking the closed state. This
makes sure we handle all data on the socket before erroring out.
gst/gstpluginloader.c