UltraMonkey-L7 branches for my development
リビジョン | a1889ed68b213464d9ed6ff154efe0fbca54370f (tree) |
---|---|
日時 | 2010-08-04 11:51:56 |
作者 | Kohei TANUMA <tanuma@user...> |
コミッター | Kohei TANUMA |
Bugfix: segv when log-level of l7vs_network is set to debug.
@@ -408,8 +408,8 @@ l7vs_conn_create(int lfd, struct l7vs_lsock *lsock) | ||
408 | 408 | |
409 | 409 | // connect real server immediately if all lsock services are fast schedule. |
410 | 410 | if (lsock->fast_schedule) { |
411 | - struct l7vs_service* srv; | |
412 | - struct l7vs_dest* dest; | |
411 | + struct l7vs_service* srv = NULL; | |
412 | + struct l7vs_dest* dest = NULL; | |
413 | 413 | conn->ciom->status = iomux_conn_received; |
414 | 414 | if (!l7vs_conn_is_rs_connected(conn->ciom, conn, &srv, &dest)) { |
415 | 415 | LOGGER_PUT_LOG_ERROR(LOG_CAT_L7VSD_NETWORK,38, "error / is realserver connected failed"); |