Dolda2000 GitWeb
/
jagi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965619c
)
Throw error on response-less responses.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 17 Feb 2022 19:18:35 +0000
(20:18 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 17 Feb 2022 19:18:35 +0000
(20:18 +0100)
src/jagi/scgi/EventServer.java
patch
|
blob
|
blame
|
history
diff --git
a/src/jagi/scgi/EventServer.java
b/src/jagi/scgi/EventServer.java
index
3df6c03
..
e2055c7
100644
(file)
--- a/
src/jagi/scgi/EventServer.java
+++ b/
src/jagi/scgi/EventServer.java
@@
-285,6
+285,8
@@
public class EventServer implements Runnable {
} else if((st = (String)resp.get("http.status")) != null) {
respond(req, st, resp);
handoff = true;
+ } else {
+ throw(new IllegalArgumentException("neither http.status nor jagi.status set"));
}
} catch(Throwable t) {
error = t;