Trabajando con LoadRunner, haciendo pruebas a una aplicación sobre HTTPS obtuve persistentemente el error -27791, “Server ’server name’ has shut down the connection prematurely“, aparentemente sin ningún motivo.
Se solucionó añadiendo :
vuser_init() {
web_set_sockets_option (“CLOSE_KEEPALIVE_CONNECTIONS”, “1″);
web_set_sockets_option(“SSL_VERSION”, “3″);
web_set_sockets_option(“MAX_CONNECTIONS_PER_HOST”,“1″);
web_set_sockets_option(“OVERLAPPED_SEND”, “0″);
web_set_sockets_option(“IGNORE_PREMATURE_SHUTDOWN”, “1″);
return 0;
}