projects
/
cl-modlisp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r5254: Auto commit for Debian build
[cl-modlisp.git]
/
utils.lisp
diff --git
a/utils.lisp
b/utils.lisp
index c216022a4e447ff7cf6a9cffe02e67b548cd2ce6..9964122fd2323b4bca740a717b98955b98103eb5 100644
(file)
--- a/
utils.lisp
+++ b/
utils.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Dec 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Dec 2002
;;;;
-;;;; $Id: utils.lisp,v 1.
3 2003/07/08 06:40:00
kevin Exp $
+;;;; $Id: utils.lisp,v 1.
4 2003/07/08 08:34:23
kevin Exp $
;;;; *************************************************************************
(in-package #:modlisp)
;;;; *************************************************************************
(in-package #:modlisp)
@@
-44,6
+44,8
@@
(write-header-line "Content-Length"
(write-to-string (length ,outstr)))
(write-header-line "Keep-Socket" "1")
(write-header-line "Content-Length"
(write-to-string (length ,outstr)))
(write-header-line "Keep-Socket" "1")
+ (write-header-line "Keep-Alive" "timeout=15, max=99")
+ (write-header-line "Connection" "Keep-Alive")
(write-string "end" *apache-socket*)
(write-char #\NewLine *apache-socket*)
(write-string ,outstr *apache-socket*)
(write-string "end" *apache-socket*)
(write-char #\NewLine *apache-socket*)
(write-string ,outstr *apache-socket*)
@@
-65,6
+67,8
@@
(write-header-line "Content-Type" (format-string format))
(write-header-line "Content-Length" (format nil "~d" (length html)))
(write-header-line "Keep-Socket" "1")
(write-header-line "Content-Type" (format-string format))
(write-header-line "Content-Length" (format nil "~d" (length html)))
(write-header-line "Keep-Socket" "1")
+ (write-header-line "Keep-Alive" "timeout=15, max=99")
+ (write-header-line "Connection" "Keep-Alive")
(write-string "end" *apache-socket*)
(write-char #\NewLine *apache-socket*)
(write-string html *apache-socket*)
(write-string "end" *apache-socket*)
(write-char #\NewLine *apache-socket*)
(write-string html *apache-socket*)