main: do not impose timeout when reading from sec-mod

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-02 10:47:42 +02:00
parent 89190854f6
commit 5d522a73fe

View File

@@ -101,7 +101,7 @@ int handle_sec_mod_commands(main_server_st * s)
return ERR_MEM;
}
raw_len = force_read_timeout(s->sec_mod_fd, raw, length, 2);
raw_len = force_read(s->sec_mod_fd, raw, length);
if (raw_len != length) {
e = errno;
mslog(s, NULL, LOG_ERR,