Permalink
Commits on Jan 12, 2017
Commits on Jan 8, 2017
  1. loader: Exit if live reloading setup fail and add more messages

    arteymix committed Jan 8, 2017
Commits on Jan 7, 2017
  1. loader: Update help and show more helpful messages

    arteymix committed Jan 7, 2017
  2. loader: Add missing file for the loader test

    arteymix committed Jan 7, 2017
Commits on Dec 29, 2016
  1. VSGI loader for GModule-based applications

    Provide a loader, namely 'vsgi-loader', for application written as a
    GModule.  The syntax is similar to gunicorn and make it possible to pass
    CLI arguments to the server.
    
        vsgi-loader module -- --port=3003
    
    It loads the symbole from the module, and forward arguments and serve
    the application. It does not work for CGI due to the one process per
    request constraint.
    
    The implementation arguments must be separated by a '--' to make a clear
    distinction from 'vsgi' arguments.
    
    The default server technology is libsoup-2.4 and another implementation
    can be specified with the '--server' flag.
    
    The directory where the shared library is stored can be specified with
    the '--directory' flag, defaulting on system path.
    
    It support a built-in reloader based on 'GLib.FileMonitor' and
    automatically reload the shared library on change.
    
    Update documentation for loadable applications
    
    Improve the section by covering more aspects with code examples.
    arteymix committed Sep 12, 2015
Commits on Dec 26, 2016
  1. build: Install pip3 packages and ninja as non-root user

    arteymix committed Dec 26, 2016
  2. build: Explicitly use Meson 0.36

    The 0.37 breaks usage of 'install_data' for generated files, so we have
    to wait until 0.38 to get a proper install solution.
    arteymix committed Dec 26, 2016
Commits on Dec 15, 2016
Commits on Dec 11, 2016
  1. vsgi: Close the SCGI connection asynchronously

    Since 'close' also call 'flush', it avoids blocking the main loop of
    there are some pending writes.
    arteymix committed Dec 11, 2016
  2. vsgi: Mitigate blocking by dispatching asynchronously with 'IOSchedul…

    …erJob'
    
    Dispatch incoming requests using 'IOSchedulerJob', which process using
    a small internal pool of threads.
    
    This is only a temporary solution before we move on a fully asynchronous
    model. It is assuming that processing requests is a relatively short
    operation.
    
    There's no need to use 'Idle.add' in the CGI implementation since the
    initial request will be triggered once the main loop starts.
    arteymix committed Dec 10, 2016
Commits on Dec 9, 2016
Commits on Dec 6, 2016
  1. vsgi: Make error handling more resilient for FastCGI

    Replace 'FastCGI.Error' with 'GLib.IOError' as they are essentially
    raised on failed I/O.
    
    Explicitly mark error conditions as 'unlikely' and replace 'warning' by
    'critical' for stream errors.
    
    Fix 'FastCGI.Stream.flush' signature and check for 'EOF'.
    
    Avoid flushing the error stream, it's useless.
    
    In case of 'close', only check if the 'out' stream has been closed.
    arteymix committed Oct 16, 2016
  2. docs: Update installation instructions

    Update availability for Fedora and add EPEL 7.
    
    Fix headers for Arch Linux and Solus.
    arteymix committed Dec 6, 2016
Commits on Nov 20, 2016
Commits on Nov 19, 2016
Commits on Nov 18, 2016
Commits on Nov 15, 2016
Commits on Nov 14, 2016
  1. build: Fix installed files and update with Meson 0.36

    Bump Meson version requirement to 0.36 to use the 'vala_header' option
    and support automatically suppressed warnings for Vala targets.
    
    Use the new 'find_library' implementation for Vala which checks for
    VAPI.
    arteymix committed Oct 24, 2016