[srvx-commits] srvx branch, master, updated. v1.4.0-rc3-75-gc1b89eb
Brought to you by:
entrope
From: Entrope <en...@us...> - 2010-11-22 12:34:24
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "srvx". The branch, master has been updated via c1b89eba62707ffc6f6daf8e818036dec3dfbc2a (commit) via 5808de1e3e2db867ac9138a971d1d7e6b5ca5015 (commit) from eab60cb760238b0f57727c1cbe7e095286c58d81 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c1b89eba62707ffc6f6daf8e818036dec3dfbc2a Author: Michael Poole <md...@tr...> Date: Mon Nov 22 07:33:45 2010 -0500 Update IP glob matching to work more accurately with IPv6. When given an IP like 2001::1234:5678:1:2:3:4, srvx (properly) makes a glob like 2001:0:4137:*. However, it wouldn't realize that the glob actually matches the IP, because it used string glob matching. src/tools.c (user_matches_glob): Use a parsed glob to match against the user's IP address. commit 5808de1e3e2db867ac9138a971d1d7e6b5ca5015 Author: Michael Poole <md...@tr...> Date: Mon Nov 22 07:31:01 2010 -0500 Complain properly about unterminated comments in config files. sylar noticed that unterminated comments would often cause an infinite loop in the config parser. src/recdb.c (fail_codes): Add UNTERMINATED_COMMENT value. (parse_skip_ws): Abort with that on EOF inside a comment. (failure_reason): Handle UNTERMINATED_COMMENT. ----------------------------------------------------------------------- Summary of changes: src/recdb.c | 6 +++++- src/tools.c | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) hooks/post-receive -- srvx |