Martin Willi
518a5b2ece
configure: Check for and explicitly link against -latomic
...
Some C libraries, such as uClibc, require an explicit link for some atomic
functions. Check for any libatomic, and explcily link it.
2016-06-14 14:27:20 +02:00
Tobias Brunner
88b85e022a
sigwaitinfo() may fail with EINTR if interrupted by an unblocked signal not in the set
...
Fixes #1213 .
2015-11-23 11:37:19 +01:00
Tobias Brunner
858148092d
Replace usages of sigwait(3) with sigwaitinfo(2)
...
This is basically the same call, but it has the advantage of being
supported by FreeBSD's valgrind, which sigwait() is not.
References #1106 .
2015-10-29 15:38:37 +01:00
Martin Willi
4163421f91
plugins: Don't link with -rdynamic on Windows
2014-06-04 15:53:02 +02:00
Martin Willi
39badc53cd
libfast: Use chunk_map() instead of non-portable mmap()
2014-01-23 15:55:32 +01:00
Tobias Brunner
9af44ef5d9
Build all shared libraries with -no-undefined and link them properly
...
The flag is required to convince libtool on Cygwin to build DLLs. But on
Windows these shared libraries can not have undefined symbols, so we have to
link them explicitly to the libraries they reference.
For plugins this is currently not done, so only the monolithic build is
supported. The plugin loader wouldn't be able to load DLLs anyway, as
it tries to load files that don't exist on Cygwin.
2013-09-12 01:44:49 +02:00
Martin Willi
19cb07b890
automake: replace INCLUDES by AM_CPPFLAGS
...
INCLUDES are now deprecated and throw warnings when using automake 1.13.
We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and
defines are passed to AM_CPPFLAGS only.
2013-07-18 14:59:19 +02:00
Martin Willi
b146ecbc4e
libfast: cancel thread if it fails to accept fcgi sessions
2013-07-18 12:24:38 +02:00
Martin Willi
890f20989f
libfast: add a fast_ prefix to all classes, avoiding namespace clashes
2013-07-18 12:24:38 +02:00
Tobias Brunner
11adf114c1
Fixed Doxygen comments after scanning complete src directory
2013-03-02 18:31:53 +01:00
Tobias Brunner
f05b427265
Moved debug.[ch] to utils folder
2012-10-24 16:00:51 +02:00
Tobias Brunner
12642a6831
Moved data structures to new collections subfolder
2012-10-24 16:00:49 +02:00
Martin Willi
565bfc08c6
Add a libfast sendfile() method to send files from disk
2012-10-02 15:37:36 +02:00
Tobias Brunner
9181784fb1
Fixed check for rng in session ID creation of libfast
2012-09-28 19:07:53 +02:00
Tobias Brunner
9d5b688a11
Properly initialize sockaddr_in struct in fast and dhcp plugins
2012-09-28 16:28:46 +02:00
Martin Willi
76a98ee2a1
Check rng return value when generating libfast session COOKIEs
2012-07-16 14:53:37 +02:00
Martin Willi
b188f23199
Install dev headers only if --with-dev-headers= option is set
2012-07-11 11:16:31 +02:00
Martin Willi
f1292d9d24
Install libfast development headers
2012-07-11 10:43:33 +02:00
Tobias Brunner
35a1986142
Fixed additional typos in comments and log messages.
2012-01-12 11:42:42 +01:00
Tobias Brunner
b4f037bb08
libfast: Fixed compiler warning.
2011-11-25 10:22:41 +01:00
Martin Willi
f9a0f55657
Check if ClearSilver actually requires zlib
2011-09-02 13:40:38 +02:00
Tobias Brunner
28623fc538
"this" removed from comments.
2011-07-06 09:43:45 +02:00
Tobias Brunner
60d62b9e5c
Don't install the libraries directly in lib/.
...
Instead use a subdirectory (prefix/lib/ipsec by default). Also moved the
plugins from libexec to a subdirectory of that dir.
2011-07-05 14:42:14 +02:00
Martin Willi
6fe53bde24
We actually need to link against libz, as neo libraries are often static
...
This reverts commit 3c0630a797
.
2011-06-15 12:23:21 +02:00
Martin Willi
38dc106cde
Set cookies for the complete domain
2011-06-15 12:22:41 +02:00
Martin Willi
7804b7f420
Migrated libfast to INIT/METHOD macros
2011-06-15 11:25:53 +02:00
Martin Willi
3c0630a797
libfast does not depend on zlib directly, clearsilver can be built without compression support
2011-06-01 12:03:44 +02:00
Martin Willi
1038d9fee5
Added a null-safe strdup variant
2011-01-05 16:46:02 +01:00
Martin Willi
93a9926805
Added getter for arbitrary environment variables
2010-11-17 16:46:23 +01:00
Martin Willi
ddf29f5b07
Added support for reading raw PUT/POST data from HTTP request
2010-05-27 09:30:14 +02:00
Martin Willi
40fb7165a9
Reintroduce to_referer(), redirect() does not work with get_referer()
2010-04-28 09:03:08 +02:00
Martin Willi
69e492f2e2
Use a 301 permanent redirect if no controller given
2010-04-28 08:30:21 +02:00
Martin Willi
54e354f2d6
Remove to_referer() method, as it fails if no referer was given
2010-04-07 15:36:22 +02:00
Tobias Brunner
8b0e09103b
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
2010-04-06 12:47:40 +02:00
Martin Willi
520f6b846a
Added a very minimalistic SMTP client to send mails via a local Exim
2010-03-11 10:51:16 +01:00
Martin Willi
a3920abb76
Add a getter for the HTTP referer
2010-03-10 15:09:12 +01:00
Tobias Brunner
4a5a5dd290
Using the thread wrapper in charon, libstrongswan and their plugins.
2009-12-23 17:03:41 +01:00
Tobias Brunner
070ac5b0b7
Check if libpthread is required or not.
2009-12-23 17:02:26 +01:00
Tobias Brunner
eba64cef41
Separated the public interfaces of the threading primitives.
2009-12-23 17:01:53 +01:00
Tobias Brunner
14f7091280
Moved mutex.c to a separate folder in order to cleanly wrap other threading primitives (and utils/mutex.h is now threading.h).
2009-12-23 17:00:58 +01:00
Martin Willi
a6225e4936
Improved libfast session management, using a hashtable
2009-12-08 19:31:02 +01:00
Martin Willi
6d24a5d746
added lost session cookie buffer
2009-09-11 16:23:15 +02:00
Martin Willi
3b878dae7e
Removed chunk_from_buf() in favor of a simpler chunk_from_chars() macro
2009-09-11 15:39:35 +02:00
Martin Willi
31f87c29c7
double check session id has been initialized
2009-09-10 20:51:43 +02:00
Martin Willi
6de28173f0
remove obsolete @brief doxygen tags
2009-09-10 18:52:42 +02:00
Martin Willi
6d8e913ab6
Use wrapped mutex_t/condvar_t instead of pthread_mutex/cond_t
2009-09-10 18:52:42 +02:00
Martin Willi
48a606b5ff
libfast uses enumerator instead of deprecated iterator
2009-09-10 18:52:42 +02:00
Martin Willi
7b3814f75d
remove spaces before tabs at the beginning of lines (^( )+\t)
2009-09-04 15:02:11 +02:00
Martin Willi
323f9f990f
replaces four spaces by tabs, where appropriate
2009-09-04 14:50:23 +02:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00