|
|
|
|
|
by MichaelGG
4249 days ago
|
|
SIP takes this to the next level. http://tools.ietf.org/html/rfc4475 Is a spec for "torture tests", where the SIP authors revel in the hideously complex parsing rules they've come up with (which is basically HTTP parsing). They even suggest that code should infer the meaning of messages. So I suppose you need some sort of AI to really handle things well. Binary protocols would be a better choice. Or, a well-defined text format. JSON, XML, anything, really, would eliminate this class of bugs. |
|