What - disable signal for curl, otherwise, it will cause kpfs crash.
What - disable signal for curl, otherwise, it will cause kpfs crash.

@Description/root cause - Why
liboauth needs to be configured by "--with-curltimeout", so that it will call:
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
and kpfs need to add this NOSIGNAL too.
error message:
/tmp/kpfs/demo$ ls
ls: cannot open directory .: Transport endpoint is not connected
crash log:
/work/open_src/kpfs.svn/src/.libs/lt-kpfs terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb74c7dd5]
/lib/i386-linux-gnu/libc.so.6(+0xffd2a)[0xb74c7d2a]
/lib/i386-linux-gnu/libc.so.6(__longjmp_chk+0x4b)[0xb74c7c9b]
/usr/lib/i386-linux-gnu/libcurl-nss.so.4(+0x9f15)[0xb7577f15]
[0xb7741400]
[0xb7741424]

@Resolution - How
user needs to recompile liboauth with:
./configure --enable-nss --with-curltimeout
and kpfs add this CURLOPT_NOSIGNAL to curl related code too.

@Reviewer
NONE

@Tickets
http://code.google.com/p/kpfs/issues/detail?id=4

mimepp/kpfs,mimepp/kpfs