The answer is it depends. In general it should return an error, but I would not rule out crashing. If you have a trace of such a crash, pray share as that helps improve the code. Paul.
On 10/3/07, Gabi Mahu <[EMAIL PROTECTED]> wrote: > > Hello all, > > I am using mmsbox, mmsproxy and mmsrelay without any problems in a small > project, a small application that sends a constructed MMS to mmsbox. I just > have some questions regarding the behavior of Mbuni when a malformed MMS is > sent to mmsbox. When I say malformed, I mean any kind of multipart headers > or multipart content errors. > > At some point, due to some bugs, the MMS message that was created by the > application was corrupted. Everything that was between the multipart > boundaries (where headers and content for an images should have been, for > example...), except the pair of \r\n, was missing. Mmsbox crashed due to a > segmentation fault, caused by some string manipulation for the empty > multipart. > > The code that generates the MMS is out of my reach now, so I can't answer > my question by modifying the way the MMS is created and observing mmsbox > reactions. And the application seams to works without a flaw now, so.... > That is way I am writing this email. > > So, if someone could please explain how does mmsbox react when a corrupt > MMS arrives? It forwards the MMS to mmsc, even though it doesn't > "understand" it (it can't parse it, or finds some bad headers...), and > responds with 200ok, or discards the message and answers with some 4xx code, > or what? (I did leave out "it crashes" on purpose, because I hope that is > not the case...) > > > Thank you for your time > Gabi Mahu > > ------------------------------ > Don't let your dream ride pass you by. Make it a > reality<http://us.rd.yahoo.com/evt=51200/*http://autos.yahoo.com/index.html;_ylc=X3oDMTFibjNlcHF0BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDYXV0b3MtZHJlYW1jYXI->with > Yahoo! Autos. > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.mbuni.org/mailman<http://lists.mbuni.org/mailman/listinfo/users> > /listinfo/users <http://lists.mbuni.org/mailman/listinfo/users> > >
_______________________________________________ Users mailing list [email protected] http://lists.mbuni.org/mailman/listinfo/users
