I suspect that they will say ‘use MG_EV_SEND to send the next chunk’. Although I seem to remember seeing a fork of mongoose that offered a ‘send immediately’ style flag. It is certainly a common optimisation in such event driven systems. The connection flag approach seems the best. We could make a openvehicles/mongoose clone of their repository, and make our change there. That at least would be more maintainable. Regards, Mark.
On 22 Jan 2018, at 1:27 PM, Stephen Casner <casner@acm.org> wrote:
Maybe we could get mongoose to accept a pull request to add a flag telling mg_send() to always send immediately?
-- Steve _______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev