- project: Introduce WebSockets into rTorrent
- Organization: CCExtractor Development
- Contributor: Dongyang Zheng
- mentor: jesec
This GSoC project will replace the antique SCGI protocol in rTorrent with Websocket, which will allows real-time events, less serialization/transfer overheads, better security, etc. There isn't a modern c++ websockets library that supports unix domain socket, we will add this important feature into uWebsockets. And we also replace the global mutex in libtorrent with shared_mutex to improve concurrency.
- introduce websocket into rTorrent and implement "server push", that is, client can subscribe some specific topics, once the event occurs,server will push the notification to client automatically
- add unix domain socket support for uWebSockets, now websocket can listen on unix domain socket, with better security.
- replace global mutex in libtorrent with shared_mutex
- qualification task before get selected
- unix domain socket support for uWebsocket
- replace mutex with shared_mutex in libtorrent
- project code repo
- code commits
- related blogs (records of the development process)
Not only technical things I have learned but also the ability to think and tackle problems. Mentor jesec is very great, he gave me a lot of guidance and inspiration in the process of completing the project, work with jesec is wonderful, thanks jesec for help. Thanks Google and GSoC program and CCExtractor Development community provided such a good activity.