Is there a lightweight multipart/form-data parser in C or C++? [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-02 16:16:32

I know this question is a couple of years old now, but I needed the same and ended up using this:

https://github.com/iafonov/multipart-parser-c

Yes, there one. No secret it is my own. Feel free to use it. The link is: MPFDParser. It has no dependencies at all.

mimetic claims to support it. I think GNU cgicc may also support it.

cgicc supports it... But is written quite badly and relays on entry buffer in memory.

this may not answer your question directly, but did you consider hiphop for php from facebook?

it converts your php code to c++ then compiles with g++.

might save you time in writing something on your own.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!