Skip to content

cosock/cosock

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

cosock

cosock logo

cosock is a library that provides a coroutine executor for luasocket code. Unlike existing coroutine executors it aims to provide a socket facade API inside each coroutine that is as close to the native luasocket API as is possible.

Note: currenly the only goals are to provide the API as documented, undocumented APIs are out of scope for now (however, small quirks that are heavily depened on in the ecosystem will be considered).

For now see the tests folder for example usage.

Testing

To run ssl tests, test keys and certificates first need to be generated via openssl. To do so run:

sh tests/ssl/certs/generate.sh

About

A coroutine runtime for native luasocket code

Resources

License

Stars

Watchers

Forks

Packages

No packages published