{"id":18270872,"url":"https://github.com/alinradut/NetworkOperationQueue","last_synced_at":"2025-04-05T01:30:53.623Z","repository":{"id":2338006,"uuid":"3300028","full_name":"alinradut/NetworkOperationQueue","owner":"alinradut","description":"A naïve multithreaded C++ implementation of a network operation queue using libcurl as backend. Orignally intended to be used with Cocos2D-x","archived":false,"fork":false,"pushed_at":"2014-04-22T09:14:49.000Z","size":215,"stargazers_count":36,"open_issues_count":0,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-05T11:53:13.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alinradut.png","metadata":{"files":{"readme":"README.mdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-29T21:33:22.000Z","updated_at":"2022-10-10T15:12:53.000Z","dependencies_parsed_at":"2022-08-26T22:02:56.984Z","dependency_job_id":null,"html_url":"https://github.com/alinradut/NetworkOperationQueue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinradut%2FNetworkOperationQueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinradut%2FNetworkOperationQueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinradut%2FNetworkOperationQueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alinradut%2FNetworkOperationQueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alinradut","download_url":"https://codeload.github.com/alinradut/NetworkOperationQueue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:38:55.185Z","updated_at":"2025-04-05T01:30:53.168Z","avatar_url":"https://github.com/alinradut.png","language":"C++","readme":"Originally, the code was supposed to be run on Android and iOS in Cocos2D-x, but it is agnostic enough that it can be used on other platforms as well.\n\nThis implementation of the threaded network queue has a number of issues that one should pay attention to:\n\n* in order to start/dequeue an operation you need to periodically call the update method on the NetworkOperationQueue\n* threads are not reused, but each new operation starts its own thread (no worries, at a given time a max of 10 threads are allowed to be started)\n* no support for HTTPS. The libcurl builds that I am using on Android and iPhone do not have OpenSSL support. If you intend to use this code with a SSL enabled CURL make sure you implement the locking functions needed for the SSL provider, otherwise the code will randomly crash on curl_easy_init. Resources:\n * thread: http://curl.haxx.se/mail/lib-2009-02/0360.html\n * http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading\n * example: http://curl.haxx.se/libcurl/c/threaded-ssl.html\n\nPatches and feedback very much welcome.\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falinradut%2FNetworkOperationQueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falinradut%2FNetworkOperationQueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falinradut%2FNetworkOperationQueue/lists"}