|
@@ -127,6 +127,8 @@ char* parse_first_line(char* buffer, unsigned int len, struct msg_start * fl)
|
|
else IFISMETHOD( OPTIONS, 'O')
|
|
else IFISMETHOD( OPTIONS, 'O')
|
|
else IFISMETHOD( PRACK, 'P')
|
|
else IFISMETHOD( PRACK, 'P')
|
|
else IFISMETHOD( UPDATE, 'U')
|
|
else IFISMETHOD( UPDATE, 'U')
|
|
|
|
+ else IFISMETHOD( REFER, 'R')
|
|
|
|
+ else IFISMETHOD( PUBLISH, 'P')
|
|
/* if you want to add another method XXX, include METHOD_XXX in
|
|
/* if you want to add another method XXX, include METHOD_XXX in
|
|
H-file (this is the value which you will take later in
|
|
H-file (this is the value which you will take later in
|
|
processing and define XXX_LEN as length of method name;
|
|
processing and define XXX_LEN as length of method name;
|