minor, add more debug info

This commit is contained in:
neil committed 2016-06-17 20:54:22 +08:00
1 parent 63a195e5cc
commit 331c4bb669
1 file changed
+6 -1
+6 -1
View File
@@ -907,7 +907,12 @@ _starttlsserver() {
fi
#start openssl
(printf "HTTP/1.1 200 OK\r\n\r\n$content" | openssl s_server -cert "$TLS_CERT" -key "$TLS_KEY" -accept $port >/dev/null 2>&1) &
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ]
(printf "HTTP/1.1 200 OK\r\n\r\n$content" | openssl s_server -cert "$TLS_CERT" -key "$TLS_KEY" -accept $port ) &
else
(printf "HTTP/1.1 200 OK\r\n\r\n$content" | openssl s_server -cert "$TLS_CERT" -key "$TLS_KEY" -accept $port >/dev/null 2>&1) &
fi
serverproc="$!"
sleep 2
_debug serverproc $serverproc
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.