aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inputStream_http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index f441bf14f..cfbe88e60 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -604,9 +604,10 @@ static int getHTTPHello(InputStream * inStream) {
return 0;
}
}
- case 404:
case 400:
case 401:
+ case 403:
+ case 404:
default:
close(data->sock);
data->connState = HTTP_CONN_STATE_CLOSED;