Skip to content

Commit 37de4fd

Browse files
committed
update jspx
1 parent 063097a commit 37de4fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/tunnel.jspx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@
141141
hin = conn.getInputStream();
142142
} else {
143143
hin = conn.getErrorStream();
144+
if (hin == null){
145+
response.setStatus(HTTPCODE);
146+
return;
147+
}
144148
}
145149

146150
ServletOutputStream outputStream = response.getOutputStream();

0 commit comments

Comments
 (0)