Indenting and bug 7544
svn: r627
This commit is contained in:
parent
19b1ddfa72
commit
0987bcd1dd
|
@ -14,7 +14,7 @@
|
|||
(lib "string.ss")
|
||||
(lib "url.ss" "net")
|
||||
(lib "xml.ss" "xml")
|
||||
)
|
||||
(lib "list.ss"))
|
||||
(provide web-server@)
|
||||
|
||||
(define myprint
|
||||
|
@ -562,7 +562,8 @@
|
|||
host-info))
|
||||
(request-uri req))
|
||||
(request-method req)))])
|
||||
(let* ([inst (hash-table-get config:instances (car k-ref)
|
||||
(let* ([inst
|
||||
(hash-table-get config:instances (first k-ref)
|
||||
(lambda ()
|
||||
(raise
|
||||
(make-exn:servlet-instance
|
||||
|
@ -574,19 +575,20 @@
|
|||
inst
|
||||
(make-execution-context
|
||||
conn req (lambda () (suspend #t))))
|
||||
(semaphore-wait (servlet-instance-mutex inst))
|
||||
(let ((k*salt
|
||||
(hash-table-get k-table (cadr k-ref)
|
||||
(let ([k*salt
|
||||
(call-with-semaphore
|
||||
(servlet-instance-mutex inst)
|
||||
(lambda ()
|
||||
(hash-table-get k-table (second k-ref)
|
||||
(lambda ()
|
||||
(raise
|
||||
(make-exn:servlet-continuation
|
||||
"" (current-continuation-marks)))))))
|
||||
(if (= (cadr k*salt) (caddr k-ref))
|
||||
((car k*salt) req)
|
||||
"" (current-continuation-marks)))))))])
|
||||
(if (= (second k*salt) (third k-ref))
|
||||
((first k*salt) req)
|
||||
(raise
|
||||
(make-exn:servlet-continuation
|
||||
"" (current-continuation-marks))))))
|
||||
(semaphore-post (servlet-instance-mutex inst)))))
|
||||
"" (current-continuation-marks)))))))))
|
||||
|
||||
;; ************************************************************
|
||||
;; ************************************************************
|
||||
|
|
Loading…
Reference in New Issue
Block a user