Hi,

Sorry for my English.

I needed a network quality measurement tool, so I decided to write a litle c program based on libcurl and libcurl examples. The plan was to download a testfile from remote web servers via http in 4 threads and check the time.

On the test system all went well. The network is a bit big, on the production test server I has to use 18 ethernet cards. On the machine with this many of ethernet cards, I experienced random lockups.

One thread with bind-address ok, 4 thread without bind-address ok, 4 thread with bind address randomly locks.

I don't know if setsockopt bind address is thread-safe?
Maybe I can use some workaround? E.g. download a little testfile sequential to do the bindaddress serialized with keepalive, then start the multithreaded download?

Thank you for any help.

Robert
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to