WIP: overcapacity

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
wip configure

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Plugins: fix indentation of 2 lines in mk_plugin.c

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
Merge branch 'lineindentfix' of https://github.com/kaspersky/monkey
configure: Fix compilation (".lo" objects)

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
Scheduler: Fix warning for implicit declaration

Add declaration of mk_sched_check_capacity in mk_scheduler.h

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
Fix date in changelog of spec file

The day of the week was Thursday when it should be Tuesday, also the
email's domain of the author of that same changelog entry was fixed.
Merge branch 'fixconfigure' of https://github.com/kaspersky/monkey
Merge branch 'fixwarning' of https://github.com/kaspersky/monkey
Update FSF address in a couple of headers

The headers were using the old FSF address.
Configure: options to set PolarSSL specifics.

This patch add 3 options to the configure script:

  --polarssl-headers       Path to PolarSSL headers
  --polarssl-library       Path to PolarSSL library
  --polarssl-debug-level   Set PolarSSL debug level (not implemented)

the first two aims to make things easier when using a custom or
compiled from scratch version of PolarSSL library.

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Structure: move headers to different location

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Mimetype: add SVG types (fix #153)

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Core: change name in banner

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Signal: restore handler for SIGPIPE.

This problem was introduced on commit 84fa79eb. Without the SIGPIPE handler
the server will stop working when the Kernel trigger a SIGPIPE because of a
remote socket disconnection.

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
HTTP: If-Modified-Since now allow clients from the future.

Before this patch the server did not respect a conditional
If-Modified-Since if the value was higher than the system server
date. This patch makes this pass, not a bug but make it more
friendly with Checker tools.

This patch also fix a QA script involved.

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
HTTP: on using API sendfile, check EAGAIN

Some plugins may not be too efficient to buffer outgoing data
and when implementing the sendfile callback on some cases it will
need to re-call the routine until the Kernel enqueue the data.

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Structure: adjust configure script and mklib

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Mimetype: add SVG types (fix #153)

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Core: change name in banner

Signed-off-by: Eduardo Silva <eduardo@monkey.io>