Fixing servlets/ bug
svn: r1021
This commit is contained in:
parent
d4b6a1e120
commit
7b6f89f066
|
@ -94,9 +94,13 @@
|
||||||
conn req (lambda () (suspend #t)))
|
conn req (lambda () (suspend #t)))
|
||||||
sema
|
sema
|
||||||
(start-timer 0 void))]
|
(start-timer 0 void))]
|
||||||
[real-servlet-path (url-path->path
|
[real-servlet-path (with-handlers ([void (lambda (e)
|
||||||
|
(raise (make-exn:fail:filesystem:exists:servlet
|
||||||
|
(exn-message e)
|
||||||
|
(exn-continuation-marks e))))])
|
||||||
|
(url-path->path
|
||||||
(paths-servlet (host-paths host-info))
|
(paths-servlet (host-paths host-info))
|
||||||
(url-path->string (url-path uri)))]
|
(url-path->string (url-path uri))))]
|
||||||
[servlet-exit-handler (make-servlet-exit-handler inst)])
|
[servlet-exit-handler (make-servlet-exit-handler inst)])
|
||||||
(parameterize ([current-directory (get-servlet-base-dir real-servlet-path)]
|
(parameterize ([current-directory (get-servlet-base-dir real-servlet-path)]
|
||||||
[current-custodian servlet-custodian]
|
[current-custodian servlet-custodian]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user