]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_resolve: musl libc does not implement res_nquery. Added fallback to res_query. 6292/head
authorJohn Coyle <dx9err@gmail.com>
Fri, 16 Oct 2015 17:12:41 +0000 (13:12 -0400)
committerJohn Coyle <dx9err@gmail.com>
Tue, 27 Oct 2015 13:57:47 +0000 (09:57 -0400)
commitcb2d4540d6356dd1346e53958b2d87d86d4d4713
tree6479e8458b94495e1b8eb242b10869aeb1f45a67
parent89b2b9b5c0477d1a26d1fd47a21b6f6c4052422e
rgw/rgw_resolve: musl libc does not implement res_nquery. Added fallback to res_query.

res_query in musl libc is thread safe. Added a WITH_THREAD_SAFE_RES_QUERY cmake build option to disable default res_query lock.

Signed-off-by: John Coyle <dx9err@gmail.com>
CMakeLists.txt
configure.ac
src/include/config-h.in.cmake
src/rgw/rgw_resolve.cc