• R/O
  • HTTP
  • SSH
  • HTTPS

ultramonkey-l7-v2: コミット

UltraMonkey-L7 V2(single-thread implementation)


コミットメタ情報

リビジョン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.

変更サマリ

差分

--- a/src/conn.c
+++ b/src/conn.c
@@ -408,8 +408,8 @@ l7vs_conn_create(int lfd, struct l7vs_lsock *lsock)
408408
409409 // connect real server immediately if all lsock services are fast schedule.
410410 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;
413413 conn->ciom->status = iomux_conn_received;
414414 if (!l7vs_conn_is_rs_connected(conn->ciom, conn, &srv, &dest)) {
415415 LOGGER_PUT_LOG_ERROR(LOG_CAT_L7VSD_NETWORK,38, "error / is realserver connected failed");
旧リポジトリブラウザで表示