<?xml version="1.0" standalone="yes"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlackFeather'S Blog-mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><link>http://www.fenlog.com/post/126.html</link><generator>RainbowSoft Studio Z-Blog 2.2 Prism Build 140101</generator><language>zh-CN</language><pubDate>Fri, 30 Oct 2020 19:42:05 +0800</pubDate><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>blackfeather</author><link>http://www.fenlog.com/post/126.html#cmt4346</link><pubDate>Mon, 16 Dec 2024 18:12:35 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4346</guid><description><![CDATA[mongoose真的是好使，虽然有很多性能更好的库，但是在嵌入式设备等某些场景真的很实用。所以代码再次更新，有问题欢迎留言或者加QQ沟通继续完善。别提github了，某些原因不想提交上去。。。]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>blackfeather</author><link>http://www.fenlog.com/post/126.html#cmt4345</link><pubDate>Mon, 16 Dec 2024 18:03:51 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4345</guid><description><![CDATA[这个问题修正了]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>博主</author><link>http://www.fenlog.com/post/126.html#cmt4344</link><pubDate>Mon, 16 Dec 2024 17:41:26 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4344</guid><description><![CDATA[好多人还在问，已经修正了]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>blackfeather</author><link>http://www.fenlog.com/post/126.html#cmt4314</link><pubDate>Wed, 27 Dec 2023 15:22:48 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4314</guid><description><![CDATA[收到]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>梦醉天宇</author><link>http://www.fenlog.com/post/126.html#cmt4311</link><pubDate>Sun, 16 Apr 2023 21:45:28 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4311</guid><description><![CDATA[使用这个URL【http://192.168.0.139:9607/ws】在线程中调用            WorkEventHandler(eventdata);的地方会崩溃是怎么回事<br/>想知道ws这个怎么使用<br/>]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>Loo</author><link>http://www.fenlog.com/post/126.html#cmt4280</link><pubDate>Tue, 31 Aug 2021 10:07:17 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4280</guid><description><![CDATA[//处理映射表 不在映射表的就不加入队列了<br/>std::string uri;<br/>uri.assign(((http_message *)event_data)-&amp;gt;uri.p, ((http_message *)event_data)-&amp;gt;uri.len);<br/>auto iter = pServer-&amp;gt;m_mapHttpRouter.find(uri);<br/>if (iter == pServer-&amp;gt;m_mapHttpRouter.end())<br/>{<br/>	//看看websocket<br/>	auto wsiter = pServer-&amp;gt;m_mapWSRouter.find(uri);<br/>	if (wsiter == pServer-&amp;gt;m_mapWSRouter.end())<br/>	{<br/>		//不支持的uri映射 返回403吧<br/>		mg_http_send_error(nc, 403, &amp;quot;Not Support.&amp;quot;);<br/>		return;<br/>	}<br/>}<br/><br/>此处http的请求不建议再去ws里面查找映射，否则在WorkEventHandler中使用m_mapHttpRouter[eventdata-&amp;gt;uri](request, response);会直接崩溃掉<br/>]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>二十四</author><link>http://www.fenlog.com/post/126.html#cmt4277</link><pubDate>Tue, 13 Jul 2021 16:27:51 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4277</guid><description><![CDATA[博主可以分享一下么]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>二十四</author><link>http://www.fenlog.com/post/126.html#cmt4276</link><pubDate>Tue, 13 Jul 2021 16:27:20 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4276</guid><description><![CDATA[太棒了，我也是，最近项目需要 支持 ws 但是现阶段使用的 mongoose 所以需要修改，大佬求分享]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>博主</author><link>http://www.fenlog.com/post/126.html#cmt4261</link><pubDate>Fri, 25 Jun 2021 13:10:04 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4261</guid><description><![CDATA[这个修改基于6.18的，7.x的函数和流程变动较大，没有再去做兼容]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>柴鸡菜鸡</author><link>http://www.fenlog.com/post/126.html#cmt4260</link><pubDate>Thu, 24 Jun 2021 14:57:17 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4260</guid><description><![CDATA[新版本没有多线程了吗……函数名都找不到]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>菜鸡柴鸡</author><link>http://www.fenlog.com/post/126.html#cmt4259</link><pubDate>Thu, 24 Jun 2021 11:50:40 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4259</guid><description><![CDATA[好厉害，我看了几天了]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>博主</author><link>http://www.fenlog.com/post/126.html#cmt4254</link><pubDate>Thu, 11 Mar 2021 13:19:55 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4254</guid><description><![CDATA[6.18。后来又有一些调整，有兴趣使用可以加QQ发给你]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>alont</author><link>http://www.fenlog.com/post/126.html#cmt4253</link><pubDate>Thu, 11 Mar 2021 10:57:46 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4253</guid><description><![CDATA[你是用的mongoose的哪个版本呀？]]></description></item><item><title>Re:mongoose魔改历程(C++封装http和ws服务、多线程、优化)-2024.12.16更新</title><author>alont</author><link>http://www.fenlog.com/post/126.html#cmt4252</link><pubDate>Thu, 11 Mar 2021 10:57:07 +0800</pubDate><guid>http://www.fenlog.com/post/126.html#cmt4252</guid><description><![CDATA[博主牛逼啊。]]></description></item></channel></rss>
