Open tuscanicz opened 7 years ago
The original BeSimple/Soap is also slow and present a wrong algorithm.
I suggest to rewrite the message parser completely. Instead of exploding the response/request message by line endings, I would parse it by the mime boundaries first, then the part headers by empty space. The part headers must be parsed by iconv_mime_decode while the content will be untouched. Simple.
Adding extra 1 second to the SWA request handling on localhost (MacOS X with PHP 7.x installed locally). Using Docker, situation goes a bit worse.