at the moment I see two options (both involves fixing parse_methods()
not to return error if string is empty):
1) revert to the original approach (allocate extra int)
2) to avoid 0 value after parsing, use a marking bit (1<<31); so far
only first 15 bits are used to map methods.
regards,
bogdan
Juha Heinanen wrote:
Bogdan-Andrei Iancu writes:
> 20.5 Allow
>
> The Allow header field lists the set of methods supported by the UA
> generating the message.
if the list is empty, the UA does not support any methods.
> have you found some thing else? ...even so, IMHO the purpose of a
> contact which forbids all methods looks strange to me...
well, it may be a machine, for example, that only generates MESSAGE
methods and doesn't accept any.
> anyhow, this case didn't work even with the former implementation -
> parse_methods function returns error if an empty string is supplied
> (empty as content, not length)....
then it needs to be fixed. i'll take a look at it.
-- juha
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel