From 2cc247e4783223e5323cdc0d330ee36997a3d4d6 Mon Sep 17 00:00:00 2001 From: Automatic website updater <> Date: Wed, 18 Mar 2026 21:35:04 +0000 Subject: [PATCH] Automatic website update --- index.html | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a99808e..0e36223 100644 --- a/index.html +++ b/index.html @@ -125,6 +125,10 @@ provide some benefits in specific circumstances.
  • 1.10.2 Procedures
  • 1.10.3 Record Types
  • +
  • 1.11 (knots web) +
  • Appendix A Version History
  • Appendix B Copying Information
  • @@ -157,6 +161,7 @@ Next: , P
  • (knots thread-pool)
  • (knots timeout)
  • (knots web-server)
  • +
  • (knots web)

  • @@ -1569,7 +1574,7 @@ timeout, raises &port-write-timeout-error. Both c

    1.10 (knots web-server)

    @@ -1739,6 +1744,77 @@ procedure being called at any particular time. +
    +
    +
    +
    + +

    1.11 (knots web)

    + + + + + + +
    +

    1.11.1 Procedures

    + + +
    +
    Procedure: call-with-cached-connection _ _ KEY: #:close-connection-on-exception?
    +

    Check out a connection port from CACHE and call (proc port), +returning the result. The port is returned to the cache when PROC +returns, or closed on exception if CLOSE-CONNECTION-ON-EXCEPTION? is +true (the default). +

    +
    + + + + +
    +
    Procedure: call-with-connection-cache _ _ _ KEY: #:verify-certificate?
    +

    Create a connection cache for URI with up to MAX-CACHED-CONNECTIONS, +call (proc cache), then destroy the cache and return the values +returned by PROC. +

    +
    + + + + +
    +
    Procedure: http-fold-requests _ _ _ _ KEY: #:batch-size
    +

    Fold PROC over HTTP request/response pairs using CONNECTION-CACHE for +connections. PROC is called as (proc request response body-port +accumulator) and its return value becomes the new accumulator. Requests +are sent in batches of up to BATCH-SIZE before responses are read (HTTP +pipelining). +

    +

    When the server closes the connection mid-batch the remaining requests +are retried on a fresh connection from the cache. +

    +
    + + + + +
    +
    Procedure: make-connection-cache _ _ KEY: #:verify-certificate?
    +

    Create a resource pool of up to MAX-CACHED-CONNECTIONS to URI. +

    +
    + + + + + +
    @@ -1838,6 +1914,8 @@ Next: , Pre   F   +H +   K   M @@ -1859,6 +1937,8 @@ Next: , Pre Index EntrySection
    C +call-with-cached-connectionknots_web +call-with-connection-cacheknots_web call-with-default-io-waitersknots call-with-parallelism-limiterknots_parallelism call-with-resource-from-poolknots_resource-pool @@ -1893,12 +1973,16 @@ Next: , Pre fixed-size-thread-pool?knots_thread-pool format/knotsknots
    +H +http-fold-requestsknots_web +
    K knots-exception-stackknots knots-exception?knots
    M make-chunked-output-port/knotsknots_web-server +make-connection-cacheknots_web make-fixed-size-resource-poolknots_resource-pool make-fixed-size-thread-poolknots_thread-pool make-knots-exceptionknots @@ -1972,6 +2056,8 @@ Next: , Pre   F   +H +   K   M