ruderich.org/simon
/
tlsproxy
/
tlsproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f104f2
)
Use >%s< when logging bad proxy responses.
author
Simon Ruderich
<simon@ruderich.org>
Sat, 10 Aug 2013 10:59:54 +0000
(12:59 +0200)
committer
Simon Ruderich
<simon@ruderich.org>
Sat, 10 Aug 2013 10:59:54 +0000
(12:59 +0200)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index 507a18d1c54ad000578f1f5c06344a5336b57b70..4a9b40d4af51d5e2e3347fd3cdbbcf279b79c565 100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-192,7
+192,7
@@
void handle_connection(int client_socket) {
/* Check response of proxy server. */
if (strncmp(buffer, "HTTP/1.0 200", 12)) {
- LOG(WARNING, "bad proxy response:
%s
", buffer);
+ LOG(WARNING, "bad proxy response:
>%s<
", buffer);
send_forwarding_failure(client_fd_write);
goto out;
}