i am using libupnp as http server to support upload function. when i upload a large file no matter using content-length header or chunk-transfer, the CPU process is high, something time is 100%. i also analyze the source code (http_RecvPostMessage: webserver.c), and i final find out that there are too much memcpy and malloc operation in this function(http_RecvPostMessage). i think that is the reason why perfermance is such high. can everyone help me to solve this problem?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.