o Fix long standing issue with upload feature: client would freeze
in semwait state. It was a pthread vs semaphore issue and a
database lookup issue. Check PR for complete report
o All patches are related to upload feature fix
PR: 41323
text client for file sharing
o Renamed hublist to dc_hublist; former was too generic
o FreeBSD's send(2) (in fact, all *BSD) does not support MSG_NOSIGMASK or any
similar feature. Therefore, tried to mimick it with signal masking.
However, this introduces a possible race condition which, fortunaly,
is not triggered by this application since it is not concurrent.
Reviewed by: Anders Nor Berle <debolaz@debolaz.com>