diff options
author | Andre Guibert de Bruet <andygui@gmail.com> | 2019-03-10 23:15:15 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-03-11 23:02:54 -0400 |
commit | 57c70767930c0f0cbf93c56c28442cf34eb6af07 (patch) | |
tree | 6f79d8fbc785174ba1211e27c0514ccd7efe2498 /tests/data/test1240 | |
parent | 0bb56392d4d077c5d62c63831536354a29d59f26 (diff) |
examples/externalsocket: add missing close socket calls
.. and for Windows also call WSACleanup since we call WSAStartup.
The example is to demonstrate handling the socket independently of
libcurl. In this case libcurl is not responsible for creating, opening
or closing the socket, it is handled by the application (our example).
Fixes https://github.com/curl/curl/pull/3663
Diffstat (limited to 'tests/data/test1240')
0 files changed, 0 insertions, 0 deletions