lp:c-icap

Created by Christos Tsantilas on 2013-03-06 and last modified on 2017-11-09
Get this branch:
bzr branch lp:c-icap

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
c-icap
Project:
c-icap
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the Subversion branch from http://svn.code.sf.net/p/c-icap/code/c-icap-server/trunk/.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on pear and finished 2 hours ago taking 25 seconds — see the log
Import started 8 hours ago on russkaya and finished 8 hours ago taking 30 seconds — see the log
Import started 14 hours ago on pear and finished 14 hours ago taking 25 seconds — see the log
Import started 20 hours ago on russkaya and finished 20 hours ago taking 40 seconds — see the log
Import started on 2017-11-23 on pear and finished on 2017-11-23 taking 30 seconds — see the log
Import started on 2017-11-23 on pear and finished on 2017-11-23 taking 25 seconds — see the log
Import started on 2017-11-22 on pear and finished on 2017-11-22 taking 25 seconds — see the log
Import started on 2017-11-22 on pear and finished on 2017-11-22 taking 30 seconds — see the log
Import started on 2017-11-22 on pear and finished on 2017-11-22 taking 30 seconds — see the log
Import started on 2017-11-22 on russkaya and finished on 2017-11-22 taking 40 seconds — see the log

Recent revisions

907. By chtsanti on 2017-11-09

Use latest c-icap API changes for compressed objects

906. By chtsanti on 2017-10-30

Changes to encoding/decoding related code

- Rename the newly added ci_generic_compress*/ci_generic_decompress* functions
  to ci_compress*/ci_decompress*
- Add the ci_encoding_method function, and use it to retrieve CI_ENCODE_* type
  where it is needed
- Add the ci_decompress_error function to replace ci_inflate_error function.
- Add the ci_http_response_content_encoding function.

905. By chtsanti on 2017-10-24

Update CONTRIBUTORS file

Fix Copyright headers in decode.c/encode.c files

904. By chtsanti on 2017-10-24

README file fixes

The srv_clamav:dbreload command is not a c-icap standard command.
It is used by virus_scan service included in c-icap-modules

903. By chtsanti on 2017-10-23

Add encode.c compression support
Author: Jeffrey Merkey <email address hidden>

This patch adds the file encode.c which contains the following compresion
functions to support compression for outbound web pages:

    CI_DECLARE_FUNC(int) ci_generic_compress_to_membuf(int encoding_format, const char *inbuf, size_t inlen, struct ci_membuf *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_generic_compress_to_simple_file(int encoding_format, const char *inbuf, size_t inlen, struct ci_simple_file *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_deflate_to_membuf(const char *inbuf, size_t inlen, struct ci_membuf *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_deflate_to_simple_file(const char *inbuf, size_t inlen, struct ci_simple_file *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_gzip_to_membuf(const char *inbuf, size_t inlen, struct ci_membuf *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_gzip_to_simple_file(const char *inbuf, size_t inlen, struct ci_simple_file *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_bzzip_to_membuf(const char *inbuf, size_t inlen, struct ci_membuf *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_bzzip_to_simple_file(const char *inbuf, size_t inlen, struct ci_simple_file *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_brdeflate_to_membuf(const char *inbuf, size_t inlen, struct ci_membuf *outbuf, ci_off_t max_size);
    CI_DECLARE_FUNC(int) ci_brdeflate_to_simple_file(const char *inbuf, size_t inlen, struct ci_simple_file *outbuf, ci_off_t max_size);

The following defines have been added to the simple_api.h include:
    enum CI_COMPRESS_ERRORS {
        CI_COMP_ERR_BOMB = -4,
        CI_COMP_ERR_CORRUPT = -3,
        CI_COMP_ERR_OUTPUT = -2,
        CI_COMP_ERR_ERROR = -1,
        CI_COMP_ERR_NONE = 0,
        CI_COMP_OK = 1,
    };

Jeff

902. By chtsanti on 2017-10-23

Add brotli decode support
Author: Jeffrey Merkey <email address hidden>

901. By chtsanti on 2017-10-21

Make c-icap to return "204 No Content" instead of "204 Unmodified"

... to be consistence with the ICAP RFC

900. By chtsanti on 2017-10-21

Clean up formatting
Author: "Trever L. Adams" <email address hidden>

899. By chtsanti on 2017-10-21

Clean up formatting
Author: "Trever L. Adams" <email address hidden>

898. By chtsanti on 2017-10-16

Fix c-icap statistics web page

The info module does not return all statistics to the client because of
a wrongly terminated ci_membuf structure

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers