Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Apr 26, 2013
  1. v1.3.20 control proxy via proxy-control object

    John Foderaro authored
    By default AllegroServe's proxy has no restrictions on who can use the
    proxy and which sites can be proxied. We introduce a proxy-control
    object to allow one to specify who can use the proxy and how it can
    be used.
    
    <release-note>
    allegroserve's proxy module can be controlled by proxy-control object
    to prevent the proxy from being abused.
    </release-note>
    
    <documentation>
    see rfe12300 for documentation on new proxy-control object
    </documentation>
    
    Change-Id: I9226bb9265245c260c814d45395fb8088bf3395f
Commits on Apr 2, 2013
  1. @dklayer

    Add ignored files

    dklayer authored
    Change-Id: Ia55e715ed8f93b51d8c887ecd8995d1dfae35252
Commits on Feb 27, 2013
  1. @dklayer

    bug21142: handle connection reset and aborted errors in the client

    Gabor Melis authored dklayer committed
    READ-SOCKET-LINE assumes that (READ-CHAR SOCKET NIL NIL) gets an eof
    and returns NIL if the connection is severed. Windows can surprise us
    with WSAECONNABORTED, and linux with ECONNRESET (and it's actually
    documented). Other platforms are expected to vary in when/if these can
    be triggered when reading from a socket, but it's safe to treat these
    errors as eof for our purposes.
    
    Update defpatch form (acl82: v17, acl90: v4).
    
    <release-note>
    bug21142 - handle connection reset and aborted errors in the client
    
    Previously, net.client:do-http-request sometimes signaled connection
    reset and connection aborted errors when the :connection argument was
    used and the connection was severed (for example, the connection timed
    out on the server and was closed). With this fix, connection reset and
    aborted errors are treated as an eof: we retry the request with a new
    connection which should make keep-alive operation more reliable.
    </release-note>
    
    Change-Id: I1ec4d1e6c3b3ea54c9f22bacf63d6080277c31ca
Commits on Jan 25, 2013
  1. @dklayer
Commits on Jan 16, 2013
  1. @dklayer

    Fix typo in comment

    dklayer authored
    Change-Id: I36da98c04b95661585657d98441d995453730980
Commits on Jan 15, 2013
  1. @dklayer

    Copyright date to 2013

    dklayer authored
    Change-Id: I53fd91e90806d200268cc1b9102126e2afcb4bc4
Commits on Jan 10, 2013
  1. @dklayer

    Update defpatch for v1.3.19

    dklayer authored
    Change-Id: I01d9d05b48cf58cf57974092743de69c9dc5bd37
Commits on Jan 7, 2013
  1. v1.3.19 - add timeout for complete header read

    John Foderaro authored
    In order to fight the slow http header Denial of Service attack
    there is now a parameter to control the maximum amount of time
    AllegroServe will spend reading the headers of a request
    
    Are there user-visible changes that require documentation?  yes
     I'll file a documentation bug with the details about the new
     variable and method
    
    Change-Id: Ib79e7b002877b8918ac8e2b031a4ac61cc092451
Commits on Dec 11, 2012
  1. @dklayer

    defpatch for 1.3.18

    dklayer authored
    Change-Id: Ic57c60b91bc5ef6832d65408c08d1897a6096239
  2. v1.3.18 - fix compression with logical pathnames

    John Foderaro authored
    The code checking for a compressed version of a file
    did not handle the case where a logical pathname namestring
    was used to describe the file's location.  This is
    now fixed.
    
    In response to spr39802
    
    Change-Id: I1b44124444fb2fb76c69d9b4cfda1fd8bbac0c19
  3. v1.3.17 - introduce allegroserve-error condition object

    John Foderaro authored
    In order to add program recovery from errors detected by AllegroServe
    we've introduced an allegroserve-error object which we'll begin
    using in place of a generic lisp error.  Initially we're using
    it in the client code to signal a timed out connection.
    
    A documentation update will be filed.
    
    This is a response to spr39616
    
    Change-Id: I780e86f4e0521dc5a86bb7c4621e9810155e0e6c
Commits on Jul 25, 2012
  1. fix declaration in base64-decode

    John Foderaro authored
    An incorrect array declaration was given but it's been there for a
    long time so clearly the compiler had not used that declaration
    to generate bad code.  However as a result the compiler did not
    open code the array references.  base64-decode is not a critical
    function so no performance difference are anticipated.
    
    Change-Id: Ibe947e4ea706dbbfd04782c89eee7a49503c6d65
Commits on Jul 17, 2012
  1. @dklayer

    v1.3.16 - fix freeing freed buffer problem

    John Foderaro authored dklayer committed
    v1.3.16 - bug21221 -  When reading a very large header which results in
    an out of memory error a header buffer resource would be put
    back onto the free list twice thus signalling an error.  This fixes
    that bug.
    
    Are there user visible changes in this commit?  no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no new features
    
    Tests run:  t-aserve
    
    Change-Id: Ic21d7fd537c89adc9a61a771883726446a18d31b
Commits on Jul 10, 2012
  1. @dklayer

    Make 'make clean' clean more

    dklayer authored
    Change-Id: Ifcd7d609c27e6b67d6fb105594a92466511657dc
Commits on Jun 20, 2012
  1. @dklayer

    fix #+ #- confusion

    Gabor Melis authored dklayer committed
    Change-Id: Icec60c67353b30956881fe6910dc025d3696c617
Commits on Jun 8, 2012
  1. @dklayer

    makefile: add 'stress' rule for testing

    dklayer authored
    Change-Id: Ibe89982548c98616a29f9db8e6d5eafc9d8681f3
Commits on Jun 7, 2012
  1. @dklayer

    Makefile fixes; test twiddling

    dklayer authored
    Reduce the number of parallel tests on Windows to 2 (from 3).
    
    Cleanup of makefile for Windows.
    
    Change-Id: Idd921f4084b9a2b51c0d8bd0a66a899051b56edb
  2. @dklayer

    testing -- fixes to last commit

    dklayer authored
    I didn't realize there was already a function designed to do parallel
    testing.  So, add the features of my new function (now deleted) to the
    test-aserve-n function.  It now takes `wait' and `exit' keywords.
    Adjust `test' rule accordingly.
    
    Change-Id: Ib32d34df589ff33794046bb4c0c575b8ea966fe7
  3. @dklayer

    New run-aserve-tests function

    dklayer authored
    Change-Id: I3badfa8aeba127fa3529e9be74178ec59c8c818b
    Keywords:
      (nservers 1) -- run NSERVERS copies of the tests in parallel
      exit -- when non-nil, exit after tests with status = number of failures
Commits on Mar 23, 2012
  1. Added rfe11457 stuff

    David Margolies authored
    added to aserve.html.
Commits on Mar 22, 2012
  1. @melisgl @dklayer

    fix for older allegro cl versions

    melisgl authored dklayer committed
    ... or any version for that matter without the recent patch for
    with-output-to-buffer.
    
    For logging bodies (and also to nicely accumulate multiple debug
    messages of the same kind into a single one, we need
    with-output-to-buffer that supports growable arrays which was first
    available as a patch to acl 8.2. If that feature is not supported in
    the lisp, we print an explanatory message to *error-output* and go on
    without being able to log dynamically computed bodies (i.e. those that
    aren't published files). Also, since accumulation doesn't work, one
    can have several entries for the same logical thing.
    
    Note that due to the nature of macrology, the decision whether to use
    the fully featured or the slightly restricted version is made at
    compile time.
    
    Change-Id: Idd0863381c5c9f6ec6d23a2b757a932c5848353f
Commits on Mar 14, 2012
  1. @dklayer

    improve logging

    Gabor Melis authored dklayer committed
    <release-note>
    Add lots of new debug categories suitable for net.aserve::debug-on and
    net.aserve::debug-off. See documentation for more.
    </release-note>
    
    Also, add log1* (unexported for now), a generic function of (logger
    category level message) args through which all logging eventually goes
    through. The value of logger is from the logger slot of the current
    wserver if the log comes from a server. For the client, it's the
    whatever is in *logger*.
    
    This is patch 13.
    
    <documentation>
    Note there are no :xmit-proxy-server-request-* categories, because at
    the time of reading the request it's not yet known whether it's the
    going to be proxied so these show up as :xmit-server-request-*.
    
    Complicate the simple tree of debug categories into a DAG:
    :xmit-server-request-command is a subcategory of each of :xmit :server
    :request and :command. To turn on server side logging without the
    bodies you'd do:
    
      (net.aserve::debug-on :server)
      (net.aserve::debug-off :body)
    
    The list of debug categories:
    
    :all                                     off
        The mother of all debug features.
    :notrap                                  off
        If set than errors in handlers cause a break loop to be entered.
        (parent categories: :all)
    :zoom-on-error                           off
        If set then print a zoom to the vhost-error-stream when an error occurs in a handler.
        (parent categories: :all)
    :log                                     off
        Category of features that write some kind of log.
        (parent categories: :all)
    :xmit                                    off
        Category of features that log the traffic between clients, servers.
        (parent categories: :log)
    :info                                    off
        General information.
        (parent categories: :log)
    :client                                  off
        Category of features that log client communication.
        (parent categories: :all)
    :server                                  off
        Category of features that log server communication.
        (parent categories: :all)
    :proxy                                   off
        Category of features that log proxy communication.
        (parent categories: :all)
    :request                                 off
        Category of features that log requests.
        (parent categories: :all)
    :response                                off
        Category of features that log responses.
        (parent categories: :all)
    :command                                 off
        Category of features that log http request commands.
        (parent categories: :all)
    :headers                                 off
        Category of features that log request/response headers.
        (parent categories: :all)
    :body                                    off
        Category of features that log request/response bodies.
        (parent categories: :all)
    :xmit-client-request-command             off
        If set then print the client request commands.
        (parent categories: :xmit, :client, :request, :command)
    :xmit-client-request-headers             off
        If set then print the client request headers.
        (parent categories: :xmit, :client, :request, :headers)
    :xmit-client-request-body                off
        If set then print the client request bodies.
        (parent categories: :xmit, :client, :request, :body)
    :xmit-client-response-headers            off
        If set then print the client response headers.
        (parent categories: :xmit, :client, :response, :headers)
    :xmit-client-response-body               off
        If set then print the client response bodies.
        (parent categories: :xmit, :client, :response, :body)
    :xmit-server-request-command             off
        If set then print the server request commands.
        (parent categories: :xmit, :server, :request, :command)
    :xmit-server-request-headers             off
        If set then print the server request headers.
        (parent categories: :xmit, :server, :request, :headers)
    :xmit-server-request-body                off
        If set then print the server request bodies.
        (parent categories: :xmit, :server, :request, :body)
    :xmit-server-response-headers            off
        If set then print the server response headers.
        (parent categories: :xmit, :server, :response, :headers)
    :xmit-server-response-body               off
        If set then print the server response bodies.
        (parent categories: :xmit, :server, :response, :body)
    :xmit-proxy-client-request-command       off
        If set then print the proxy request command sent to the real server.
        (parent categories: :xmit, :proxy, :client, :request, :command)
    :xmit-proxy-client-request-headers       off
        If set then print the proxy request headers sent to the real server.
        (parent categories: :xmit, :proxy, :client, :request, :headers)
    :xmit-proxy-client-request-body          off
        If set then print the proxy request bodies sent to the real server.
        (parent categories: :xmit, :proxy, :client, :request, :body)
    :xmit-proxy-client-response-headers      off
        If set then print the proxy response headers sent by the real server.
        (parent categories: :xmit, :proxy, :client, :response, :headers)
    :xmit-proxy-client-response-body         off
        If set then print the proxy response bodies sent by the real server.
        (parent categories: :xmit, :proxy, :client, :response, :body)
    :xmit-proxy-server-response-headers      off
        If set then print the proxy response headers sent to the client.
        (parent categories: :xmit, :proxy, :server, :response, :headers)
    :xmit-proxy-server-response-body         off
        If set then print the proxy response bodies sent by the client.
        (parent categories: :xmit, :proxy, :server, :response, :body)
    </documentation>
    
    Change-Id: I3209c64bfc3f25bc12cafe9cf4be7f7d0029091b
  2. @melisgl @dklayer

    bug20878: include chunker.cl in asdf system

    melisgl authored dklayer committed
    Also, add test-from-asdf make target.
    
    Change-Id: Ibf0361393b54799bfaeaaaca4068cdbeab75925c
Commits on Feb 24, 2012
  1. @dklayer

    Update copyright date

    dklayer authored
    Change-Id: Id30be8c5b34976e2ea711aebcf37b2918bf5ad05
Commits on Feb 9, 2012
  1. @dklayer

    There never was a v12 patch, so use that

    dklayer authored
    Change-Id: Ia94ab6f6d775809a1db094cb2a7cdb995f057861
  2. @dklayer

    rfe11153: pass crl-file and crl-check through

    Gabor Melis authored dklayer committed
    From do-http-request and start to make-ssl-client-stream sock and
    make-ssl-server-stream socket respectively.
    
    Bump version to 1.3.15.
    
    Update defpatch form (v14).
    
    Tests run:  t-aserve
    
    <release-note>
    do-http-request, make-http-client-request, start take two new
    arguments: crl-file and crl-check. Refer to the documentation of
    make-ssl-{client,server}-stream for more information.
    </release-note>
    
    Change-Id: Ib719ae0bf12cc6ac356c7e4c36b3ce268bcf60a8
Commits on Dec 28, 2011
  1. In webactions clp functions will be named

    John Foderaro authored
    Functions defined with def-clp-function will now have a name
    like (:clp "mymod_myfun") which will make it easier to
    distinguish them in a backtrace when debugging.
    
    Are there user visible changes in this commit?  yes/no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no new features
    
    Tests run:  t-aserve, t-webactions
    
    Change-Id: I03c8855570f0e1051ede79770935dbf5dea06fc0
Commits on Dec 27, 2011
  1. v1.3.14 - client sends all cookies on one line

    John Foderaro authored
    rfe6265 says that a client must send all cookies on one line.  We've been
    sending them on multiple lines for a long time and servers haven't
    complained but now and this is starting to be a problem, likely due
    to rfc6265 stating the one line requirement.
    
    Are there user visible changes in this commit?  yes/no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no new features
    
    Tests run:  t-aserve
    
    Change-Id: Ibf135b107bce5223ed4586fe2c34857c1b2cb99d
Commits on Nov 4, 2011
  1. Regularize binding list names

    Duane Rettig authored
    rfe11065: Regularize binding list names to be more mnemonic
    
    Change-Id: Ia9c374435b2c546dbae307efe950f41771416cce
Commits on Oct 25, 2011
  1. @dklayer

    Remove ChangeLog.old files

    dklayer authored
    Change-Id: Ifcf2b2a244a9e761f2211729fdac85507c085891
Commits on Oct 14, 2011
  1. request-query cache checks external-format

    John Foderaro authored
    v1.3.13 - spr38589 - request query caches the parse of the supplied form
    and now remembers the external format of the parse so that if the external
    format argument to request-query changes the parse will be redone.
    
    Are there user visible changes in this commit?  yes/no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no tests for new features
    
    Tests run:  t-aserve
    
    Change-Id: Ia99c421f1bcafb46828c32779a587fcd3ad0879d
Commits on Sep 23, 2011
  1. Make test function test-aserve-n a little more forgiving

    mm authored
    	modified:   test/t-aserve.cl
      test-aserve-n: if n is not positive integer, set n=0
      This allows a normal test run if someone sets
      *do-aserve-test* to t.
      Add some comments.
    
      Are there user visible changes in this commit?  no
    
      Is bootstrapping needed?   no
    
      Are tests included for new features?  no
    
      Tests run:  t-aserve.cl with various settings of *do-aserve-test*
Commits on Sep 20, 2011
  1. bug20472. Add compatibility with inflate.003 patch.

    Mikel Bancroft authored
    Simply note that :skip-gzip-header has been deprecated as of the
    code/inflate.003 patch. Stop using this keyword argument when
    building AllegroServe with Allegro CL 9.0.
    
    Are there user visible changes in this commit? no
    
    Are tests included for new features?  no new features
    
    Tests run:  make test
    
    Change-Id: Ib43f5e898603479a69eb822a99b49403693d6c7d
Commits on Sep 2, 2011
  1. bug20446. Update defpatch and bump version to 1.3.11.

    Mikel Bancroft authored
    Are there user visible changes in this commit?  yes/no
    
    Is bootstrapping needed?   yes/no
    
    Change-Id: I80e464f93c7ca6efafeedff05f1e7c907e7d3d33
Commits on Sep 1, 2011
  1. bug20446. Fix log reporting of content-length with keep-alive streams.

    Mikel Bancroft authored
    If multiple requests are sent through a socket when using
    keep-alive, log entries for each response report the
    total bytes written out on the stream rather than
    the actual bytes sent for just the response indicated in
    the log entry.
    
    Are there user visible changes in this commit?  no
    
    Tests run:  none
    
    Change-Id: I068591552132854653cdae4604b8b2c1d876d978
Something went wrong with that request. Please try again.