Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 24, 2011
  1. i dont know what the fuck im doing

    Mike Travers authored
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
Commits on Mar 17, 2011
  1. @dklayer

    Fix typo; add in-package

    dklayer authored
    Mike Travers noticed a stray `2' at the head of the file load.cl.
    Also added an in-package.
    
    Change-Id: I4d3349de59a9cb63725c71977e7159d2c289631b
Commits on Mar 16, 2011
  1. @dklayer

    Fix typo--dup #+ for version 8.2

    dklayer authored
    Change-Id: Ib840636b2580d4ab1ee3c06a8ee17b10605f6faf
  2. @dklayer

    aserve.006 defpatch

    dklayer authored
    Change-Id: I7b5466d83b65030b80666ef02ee3c1c8049ba12c
  3. @dklayer

    v1.3.5: improve wording of failure to load deflate

    dklayer authored
    Hopefully this will be clearer to people loading on
    platforms without zlib.
    
    Change-Id: I238cb7a3b6ab102a6d1f60928f8c011161c81bd7
  4. v1.3.4 fix prepend-headers so that it works on windows

    John Foderaro authored
    ensure that the correct external format is used so that
    the prepend-headers feature added in v1.3.3 works on Windows
    
    Are there user visible changes in this commit?  no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no
    
    Tests run:  t-aserve
    
    Change-Id: I9669b5cba58478e1f136511b6a798892b2051596
Commits on Mar 15, 2011
  1. One more link fix

    David Margolies authored
    label (rathe rthan link) fixed.
  2. More edit of intro para of aserve.html

    David Margolies authored
    added more links.
  3. Added link to current/doc/aserve/aserve.html to aserve.html

    David Margolies authored
    Intro para points to the version of the website as latest
    available version.
Commits on Mar 14, 2011
  1. only load aserve, not other stuff

    Mike Travers authored
  2. fix typo and add package to load.cl

    Mike Travers authored
Commits on Mar 10, 2011
  1. Fixed bad internal link in aserve.html

    David Margolies authored
    There is an anchor client-request which was cliient-reqest.
    The nachor name got fixed but not the link from the Toc
    at the head of the doc. Now fixed.
  2. Corrected typo in README.md

    David Margolies authored
    Summary says it all.
  3. Changed README.md to describe new aerve release

    David Margolies authored
    Modified README.md to describe new aserve release (compression,
    chunking, etc.) fixed up some links, other changes.
Commits on Mar 9, 2011
  1. v1.3.3 add option to do hidden redirect to an index file in a directory

    John Foderaro authored
    publish-directory arranges for a index file in a directory to be
    returned when the uri specfies the directory name.  Normally aserve
    returns a redirect to the index file which is then visible to the client.
    There is now an option to simply return the contents of the index
    file rather than do the redirect.
    
    Are there user visible changes in this commit?  yes
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  yes
    
    Tests run:  t-aserve
    
    <release-note>
    Changes to how directory entities return index files
    
    First any uri from the client that refers to a directory on the disk
    via a directory-entity will be changed (if necessary) to
    end with a slash (/) via redirection.
    Then the new hidden-index-redirect argument to publish-directory
    will determine if a redirect is done to the index file or
    if the contents of the index file are returned immediately.
    
    </release-note>
    
    <documentation>
     this change has been reflected in aserve.html (included with this
     commit).
    </documentation>
    
    Change-Id: I29ea111372fe0611ccd30960051262e122c1dfa4
Commits on Mar 3, 2011
  1. v1.3.2 - delay sending headers for computed entities

    John Foderaro authored
    For a computed entity send the response code and headers as late as possible
    thus allowing one to handle an error in the computed entity function
    by sending a different response, this time describing the error.
    
    Are there user visible changes in this commit?  yes
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  yes
    
    Tests run:  t-aserve
    
    <release-note>
    delay sending headers for computed entities
    
    Errors can occur when running the computed entity function.
    When an error occurs one would like to send back a different
    response such as '500 - Internal Server Error'.  In order to
    make this possible the http response code and the headers that
    follow that are not immediately sent back to the server
    when  with-http-body starts.   Instead they are held in
    request-reply-stream and are only sent when the computed entity
    function sends data to the stream.  Thus if you do computation
    before sending any data you can avoid having any response
    sent to the client until the computation finishes.
    
    </release-note>
    
    Change-Id: Iba2e494221820e0bbb72326888c45b56f3cc48f7
Commits on Mar 1, 2011
  1. aserve minor doc update

    John Foderaro authored
    Add navigation bar at the top of the aserve documentation.  Fix
    a few typos.
    
    Are there user visible changes in this commit?  yes
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no new features
    
    Tests run:  none
    
    Change-Id: I6e0a967db72ef391b194623ad9d7c9c2437030bd
  2. make client-request-read-sequence work with compressed responses

    John Foderaro authored
    Update client-request-read-sequence so that it uses the same
    response stream construction as is used by do-http-request, and
    thus can handle compressed responses.
    Change contributed by marinjh@franz.com.
    
    Are there user visible changes in this commit?  no
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  No (was tested by code outside aserve)
    
    Tests run:  t-aserve
    
    Change-Id: Icba412cd517a6a68cdc3c57a27dc0f75e0d34518
Commits on Feb 28, 2011
  1. document changes in client for keep-alive and connection

    John Foderaro authored
    rfe9811 -keep-alive and connection arguments to do-http-request
    
    Are there user visible changes in this commit?  yes (doc only)
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no new features
    
    Tests run:  none
    
    Change-Id: I21f70aa8031b20beafc36cff6682db4c5cf9afe7
  2. update aserve document to v1.3.1

    John Foderaro authored
    Incorporate changes from the log file
    
    Are there user visible changes in this commit?  yes (in doc only)
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  no new features
    
    Tests run:  none
    
    Change-Id: Ie4cfb1a0040ecfc380fe800d00741feca8c97ae1
Commits on Feb 25, 2011
  1. add new file need by t-aserve

    John Foderaro authored
    Change-Id: I3e1f74fa9c7042c6a503bb607e8b95371603bf53
  2. @dklayer

    Require :osi module to prevent build failure

    dklayer authored
    Change-Id: I65ccb9d60752704e557c38b48e24ff6a5b98cf32
  3. @dklayer

    Update defpatch for ACL 8.2

    dklayer authored
    Change-Id: Ia9120c12fcc500597e0d56efa91dd54b5b03abbc
  4. v1.3.1 - publish-directory can have a list of destination directories

    John Foderaro authored
    publish-directory can accept a single destination directory or a
    list of destination directories to be searched when a request is given.
    
    Are there user visible changes in this commit?  yes
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  yes
    
    Tests run:  t-aserve
    
    <release-note>
    v1.3.1 - publish direction can accept a list of destinations
    
    When a request comes in publish-directory will search one
    or more directories for the requested file.
    
    </release-note>
    
    <documentation>
    publish-directory's :destination argument can now be a single
    directory or a list of directories to search.  The first file
    found of the requested name will be returned.
    There are cases where the compressed version of a file is
    returned in place of the uncompressed file.  In this case
    the compressed and uncompressed versions of the file should
    be in the same destination directory.  If they are in
    different directories the last modified time comparison will
    not be made so the compressed version may be returned even if
    it is out of date.
    
    </documentation>
    
    Change-Id: I2b1f0b324fa67c812764ac04f75e2ee7c12bbb6d
Commits on Feb 24, 2011
  1. rfe10416/v1.3.0: return pre-compressed files and ssl protocol specifi…

    John Foderaro authored
    …cation
    
    aserve version 1.3.0
    
    rfe10416 - If a compressed version of a static file is available and
    the client is willing to accept a compressed encoding of the body
    then send the compressed version in place of the actual file.
    
    ssl - allow the user to specify the ssl protocols to be used in
    the client and server ssl streams
    
    Are there user visible changes in this commit?  yes
    
    Is bootstrapping needed?   no
    
    Are tests included for new features?  yes, tests for compressed files
    
    Tests run:  t-aserve
    
    <release-note>
    rfe10416 - compression support
    
    AllegroServe will now return a compressed version of a file object
    in preference to an uncompressed version. See the documentation for
    what must be true for this to occur.
    </release-note>
    
    <release-note>
    ssl protocol selection
    
    One can now specify the ssl protocol used by the server and
    client code in AllegroServe.  The argument is
    :ssl-method to net.aserve:start and net.aserve.client:do-http-request
    The default is still to use any protocol but one might specify
    :tlsv1 to ensure that only the most modern and secure protocol is used.
    </release-note>
    
    <documentation>
    rfe10416 - compression support  documentation additons:
    
    If a request comes in for a file AllegroServe may instead return
    a compressed version of that file.  All of the following must
    be true for this to occur
    1. when the file was published in aserve with publish-file, the
      :compress argument had a true value.
      Note that if a directory is published with publish-directory then
      when a file is discovered by AllegroServe in that directory
      it is published by AllegroServe using publish-file and in this case
      the value of the :compress argument to publish-file is the same
      value as the original :compress argument to publish-directory.
    2. The http client must have specified that it was willing to
       accept a compressed body using the Accept-Encoding header with
       a value that includes "gzip".  Modern web browsers will
       usually pass this Accept-Encoding header.
    3. The compressed version of the file must exist and its name must end
       with a period followed by file type given in the
       compression-file-types slot
       of the *wserver* object.  Currently the default file type is "gz"
       for a gzip'ed file.
       The uncompressed file need not exist [although if the uncompressed
       version does not exist then the compressed version will NOT be
       uncompressed to satisfy a request that can only be satisified
       by the uncompressed version]
    4. If the compressed and uncompressed versions of the file exist
       then the compressed version must be as young or younger than the
       uncompressed file.
    
    Even if all the above is true, if the request comes in with
    an If-Modified-Since header then AllegroServe will return a 304 Not Modified
    if it deems that this file hasn't changed since the If-Modified-Since time.
    
    Note that if all the conditions above are true and a compressed version
    of a file is transmitted to the client, the caller of the client will never see
    the compressed file.  The caller might ask the client to retrieve
    http://server/foo.txt and the client will return the contents of
    foo.txt to the caller even though foo.txt.gz was in fact transmitted
    to the client by AllegroServe.
    </documentation>
    
    <documentation>
    documentation for ssl changes:
    
    add section:
    
    SSL Protocol
    The SSL protocol used for secure communcation has gone through
    a sequence of revisions. The public revisions are SSL v2.0, SSL v3.0
    and SSL v3.1.  There was a renaming as well so SSL v3.1 is officially
    known as TLS v1.0.
    
    When an SSL client connects to an SSL server they will communicate
    using the most recent protocol that both support.
    
    By default AllegroServe's SSL server and client declare that they
    are willing to communicate using SSL v2.0, v3.0 or v3.1 (TLS v1.0).
    If you wish to restrict the server or client to a particular
    protocol you can pass the :ssl-method argument to net.aserve:start
    or net.aserve.client:do-http-request.   At present the only
    meaningful value you would want to pass is :tlsv1 meaning that
    you only want to communicate using TLS v1.0 (SSL v3.1), the most modern
    and secure of the protocols.
    
    In the documention for net.aserve:start and net.aserve.client:do-http-request
    add the :ssl-method argument and reference the SSL Protocol section
    in the document
    
    </documentation>
    
    Change-Id: Ie424378d78f5d273b3028e35d12d7ac52c1b4e17
Commits on Feb 18, 2011
  1. @dklayer

    rfe10416: tweak warn text, turn into 'note'

    dklayer authored
    Can't warn here because it will kill the ACL build (which
    stops for warnings).  Also, the best thing is to pass on the text
    of the condition, rather than a canned message.
    
    Change-Id: I3d05265bc587a79c847ce4940f87f59184310875
Something went wrong with that request. Please try again.