]> granicus.if.org Git - curl/commit
multi: make curl_multi_wait avoid malloc in the typical case
authorDaniel Stenberg <daniel@haxx.se>
Fri, 31 Mar 2017 23:27:24 +0000 (01:27 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Apr 2017 21:20:02 +0000 (23:20 +0200)
commit5f1163517e1597339d980b6504dbbece43c7027c
tree2309e7ee62a3d2de9c227b69debe6d8c42284069
parent55f4ababdee7d8f300413a9124bbf8372bf739c9
multi: make curl_multi_wait avoid malloc in the typical case

When only a few additional file descriptors are used, avoid the malloc.

Closes #1377
lib/multi.c