Browse Source

- exec_str parsed_uri_ok fix
- comment added to sip_msg new_uri & parsed_uri_ok members

Andrei Pelinescu-Onciul 22 years ago
parent
commit
6f96d99fc5
2 changed files with 7 additions and 2 deletions
  1. 3 0
      TODO
  2. 4 2
      parser/msg_parser.h

+ 3 - 0
TODO

@@ -3,12 +3,15 @@ $Id$
 ( - todo, x - done)
 
 - backport tcp conn id fix to stable
+- change len_gt into and expr (e.g msg:len).
+- sipit: uri == myself doesn't match tls port = 5061
 - regex subst on uris?
 - port receive.c pre_script_cb fix from stable
 - extend alias to include port numbers :
     something like alias= foo1.bar:5080 foo2.bar foo3.bar:*
 
 release:
+- change tcp timeouts to 2 or 3 min?
 x check via ipv6 fixes and backport to stable
 x fix kill(0, SIGTERM) on startup error (will kill also the launching shell
  if non-interactive)

+ 4 - 2
parser/msg_parser.h

@@ -198,12 +198,14 @@ struct sip_msg {
 
 	     /* modifications */
 	
-	str new_uri; /* changed first line uri*/
+	str new_uri; /* changed first line uri, when you change this
+	                don't forget to set parsed_uri_ok to 0*/
 
 	str dst_uri; /* Destination URI, must be forwarded to this URI if len != 0 */
 
 	/* current uri */
-	int parsed_uri_ok; /* 1 if parsed_uri is valid, 0 if not */
+	int parsed_uri_ok; /* 1 if parsed_uri is valid, 0 if not, set if to 0
+	                      if you modify the uri (e.g change new_uri)*/
 	struct sip_uri parsed_uri; /* speed-up > keep here the parsed uri*/
 	/* the same for original uri */
 	int parsed_orig_ruri_ok;