Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: install-aws_20…
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
Commits on Jul 29, 2011
  1. @dklayer

    v10 defpatch for 1.3.9

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

    Andreas Fuchs authored
    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
Commits on Jun 9, 2011
  1. @melisgl

    bug20222: fix DO-HTTP-REQUEST returning connections

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

    Gabor authored
    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
Commits on Jun 7, 2011
  1. incorporate the smp aserve test suite

    John Foderaro authored
    Replace t-aserve.cl with the smp version. This new version supports both single
    processor and multi-processor testing of AllegroServe
    
    Are there user visible changes in this commit?  no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  yes, tests for smp aserve
    
    Tests run:  t-aserve.cl
    
    Change-Id: I5190d9079e46c6d7fe7822469fa302b261aeda85
Commits on May 23, 2011
  1. @dklayer

    Update defpatch to v9, version to 1.3.9

    dklayer authored
    Change-Id: Ia6baf23fc82e6c9093ca6ef31d19823e6092cf39
  2. rfe10763: Speed up unchunking-streams

    Andreas Fuchs authored
    Use read-sequence instead of looped read-byte to read a chunk's
    contents. This speeds up unchunking by a bit (agraph benchmarks report
    a slight improvement versus the slightly worse results without this
    change).
    
    Is bootstrapping needed?   no
    Are tests included for new features?
      no new features
    Tests run:  make test (t-aserve)
    
    Change-Id: I642f688a5d1e970994b38e65a301494d5be9ce1c
Commits on May 9, 2011
  1. @dklayer

    update defpatch for 8.2 v8 patch

    dklayer authored
    Change-Id: I9ec4f19d91cd2b7c4c2d44f9d47122123fba4d05
Commits on May 8, 2011
  1. v1.3.8 - fix problem with response handler using string output streams

    John Foderaro authored
    Fix problem in handling a response was doing using a string output stream.
    Also fix aserve test suite to work on machine whose name is not
    dns resolvable.
    
    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: I61f9896e40ace76daedda4a68ad15e7827f4ae54
Commits on May 7, 2011
  1. Remove statement used for debugging only.

    John Foderaro authored
    Remove a format statement noting an unusual occurance on input
    as it would clutter the log file
    
    Change-Id: I85e38b05afd8d727071a8616d4dde0d5877c6a26
Commits on Apr 13, 2011
  1. @dklayer

    ACL 8.2 v7 defpatch

    dklayer authored
    Change-Id: Icc3c1aeeceffc310571caed453ccb23baffa1503
Commits on Apr 12, 2011
  1. minor fix to handle working with new timeout queue object

    John Foderaro authored
    create a queue-with-timeout in the way that works for acl9.0.
    
    Change-Id: I6034c65d0eae342e1685f332141c0127574074d6
  2. @dklayer

    Make sure aborted tests are detected

    dklayer authored
    Change-Id: I8fd69afc7b9f5bf74796b1f2d268708407daf4a9
  3. v1.3.7: version bump for using queues to dispatch workers

    John Foderaro authored
    The preceeding commit changed how workers are assigned jobs and is
    worthy of a version number change
    
    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 (linux x86-64 non-mp tested only)
    
    Change-Id: Ibd35152710cd0d4e6577ff6e64f33e785f4302d6
Commits on Apr 11, 2011
  1. @antifuchs

    rfe10556: Avoid polling in http-accept-thread

    antifuchs authored
    This uses a timeoutable queue structure to quickly access available
    workers instead of polling them at a one-second delay.
    
    This improves response times by a few milliseconds for all responses,
    and improves response latency a lot when there are fewer workers than
    there are concurrent requests.
    
    Are there user visible changes in this commit?  no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no
    
    Tests run:  t-aserve (on Linux non-smp)
    
    Change-Id: I882d23a12e11f7d7a3f6b6cc21bbf6f4bb107a3b
  2. v1.3.6 version bump and minor code cleanup

    John Foderaro authored
    After adding webaction changes from cox and smp fixes from mm we bump
    the aserve version number to 1.3.6
    
    Are there user visible changes in this commit?  no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no
    
    Tests run:  t-aserve (on Linux non-smp)
    
    Change-Id: I194f4b0561624fdc21783f72301ead062c811163
  3. more informative names and messages when multiple servers

    mm authored John Foderaro committed
    	modified:   load.cl  -- remove typo in first line
    
    	modified:   main.cl
       add name slot to wserver class
       add var *log-wserver-name* to control message and name format
           when nil, use legacy name and message format
           when t include wserver-name in thread names and messages
    
    	modified:   log.cl
       include wserver-name when logging request
    
    	modified:   proxy.cl
       include wserver-name in proxy thread name
  4. second code review for smp-safety [rfe8147]

    mm authored John Foderaro committed
    atomic modify of *max-socket-fd*
    
    	modified:   macs.cl
       added atomic-setf-max macro
    
    	modified:   main.cl
       (http-accept-thread) update  *max-socket-fd* atomically
    
    defvar-mp *max-socket-fd*
    
    update *thread-index* atomically
    
    add comment to header-keywordify: not smp-safe but ok
    
    add slots for 3 global var values
    
    	modified:   main.cl
       add wserver slots debug-connection-reset-by-peer read-request-timeout
           and read-request-body-timeout
       use the slot value instead of the global var
    
    	modified:   publish.cl
       use the slot value instead of the global var
  5. Add default-actions to webactions

    Charles A. Cox authored John Foderaro committed
    Add actions to be taken when there is no match in the webaction-project :map.
    
    Are there user visible changes in this commit?  yes/no
    yes
    
    Is bootstrapping needed?   yes/no
    no
    
    Are tests included for new features?  Possible answers:
    no
    
    Tests run:  none / make all / other (specify)
    none
    
    <release-note>
    rfe10295: Add :default-actions to webactions
    </release-note>
    
    <documentation>
    Included in doc/webactions.html
    </documentation>
    
    main.cl: workaround an occasional printer crash during finalization
    webact.cl: Add webaction-default-actions.  These are actions to take when there
    isn't an action map match.
    
    Change-Id: I8d42ca9e3ab52ef0043f3bdd9da3515d3b491fd1
Something went wrong with that request. Please try again.