Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: acl82express_J…

Jan 16, 2013

  1. dklayer

    Fix typo in comment

    Change-Id: I36da98c04b95661585657d98441d995453730980
    dklayer authored

Jan 15, 2013

  1. dklayer

    Copyright date to 2013

    Change-Id: I53fd91e90806d200268cc1b9102126e2afcb4bc4
    dklayer authored

Jan 10, 2013

  1. dklayer

    Update defpatch for v1.3.19

    Change-Id: I01d9d05b48cf58cf57974092743de69c9dc5bd37
    dklayer authored

Jan 07, 2013

  1. v1.3.19 - add timeout for complete header read

    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
    John Foderaro authored

Dec 11, 2012

  1. dklayer

    defpatch for 1.3.18

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

    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
    John Foderaro authored
  3. v1.3.17 - introduce allegroserve-error condition object

    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
    John Foderaro authored

Jul 25, 2012

  1. fix declaration in base64-decode

    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
    John Foderaro authored

Jul 17, 2012

  1. v1.3.16 - fix freeing freed buffer problem

    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
    John Foderaro authored dklayer committed

Jul 10, 2012

  1. dklayer

    Make 'make clean' clean more

    Change-Id: Ifcd7d609c27e6b67d6fb105594a92466511657dc
    dklayer authored

Jun 20, 2012

  1. fix #+ #- confusion

    Change-Id: Icec60c67353b30956881fe6910dc025d3696c617
    Gabor Melis authored dklayer committed

Jun 08, 2012

  1. dklayer

    makefile: add 'stress' rule for testing

    Change-Id: Ibe89982548c98616a29f9db8e6d5eafc9d8681f3
    dklayer authored

Jun 07, 2012

  1. dklayer

    Makefile fixes; test twiddling

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

    testing -- fixes to last commit

    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
    dklayer authored
  3. dklayer

    New run-aserve-tests function

    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
    dklayer authored

Mar 23, 2012

  1. Added rfe11457 stuff

    added to aserve.html.
    David Margolies authored

Mar 22, 2012

  1. melisgl

    fix for older allegro cl versions

    ... 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
    melisgl authored dklayer committed

Mar 14, 2012

  1. improve logging

    <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
    Gabor Melis authored dklayer committed
  2. melisgl

    bug20878: include chunker.cl in asdf system

    Also, add test-from-asdf make target.
    
    Change-Id: Ibf0361393b54799bfaeaaaca4068cdbeab75925c
    melisgl authored dklayer committed

Feb 24, 2012

  1. dklayer

    Update copyright date

    Change-Id: Id30be8c5b34976e2ea711aebcf37b2918bf5ad05
    dklayer authored

Feb 09, 2012

  1. dklayer

    There never was a v12 patch, so use that

    Change-Id: Ia94ab6f6d775809a1db094cb2a7cdb995f057861
    dklayer authored
  2. rfe11153: pass crl-file and crl-check through

    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
    Gabor Melis authored dklayer committed

Dec 28, 2011

  1. In webactions clp functions will be named

    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
    John Foderaro authored

Dec 27, 2011

  1. v1.3.14 - client sends all cookies on one line

    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
    John Foderaro authored

Nov 04, 2011

  1. Regularize binding list names

    rfe11065: Regularize binding list names to be more mnemonic
    
    Change-Id: Ia9c374435b2c546dbae307efe950f41771416cce
    Duane Rettig authored

Oct 25, 2011

  1. dklayer

    Remove ChangeLog.old files

    Change-Id: Ifcf2b2a244a9e761f2211729fdac85507c085891
    dklayer authored

Oct 14, 2011

  1. request-query cache checks external-format

    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
    John Foderaro authored

Sep 23, 2011

  1. Make test function test-aserve-n a little more forgiving

    	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*
    mm authored

Sep 20, 2011

  1. bug20472. Add compatibility with inflate.003 patch.

    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
    Mikel Bancroft authored

Sep 02, 2011

  1. bug20446. Update defpatch and bump version to 1.3.11.

    Are there user visible changes in this commit?  yes/no
    
    Is bootstrapping needed?   yes/no
    
    Change-Id: I80e464f93c7ca6efafeedff05f1e7c907e7d3d33
    Mikel Bancroft authored

Sep 01, 2011

  1. bug20446. Fix log reporting of content-length with keep-alive streams.

    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
    Mikel Bancroft authored

Jul 29, 2011

  1. dklayer

    v10 defpatch for 1.3.9

    Change-Id: I3876234469f4ff8ed451be0f1dc4791b807564e3
    dklayer authored
  2. bug20394: Fix correct value from unchunking device-read

    The return value from device-read for unchunking streams was subtly
    wrong: It returned the offset into the buffer, while device-read
    should always return the number of bytes read during the operation.
    
    This caused problems in rare cases when device-read was invoked with a
    start argument greater than 0.
    
    Tests run:  make test.
    
    Change-Id: I416a003572fb80c7c9e3b4e13c496ce884418d5b
    Andreas Fuchs authored

Jun 09, 2011

  1. bug20222: fix DO-HTTP-REQUEST returning connections

    It should not return the connection if it already knows it's not
    keep-alive.
    
    Change-Id: I865c0002170db2a9c677279d68ccb4de1d53302b
    Gabor authored melisgl committed
  2. bug20222: racier test

    Add a SLEEP to the keepalive test in TEST-CLIENT to give the server
    time to close the connection if it doesn't honour the keep-alive
    request.
    
    Much easier to reproduce bug20222 this way.
    
    Change-Id: Ia8f4bb9ad51be33f4a17c5cc122c8b1ef4a24320
    Gabor authored
Something went wrong with that request. Please try again.