Skip to content
/ medusa Public

Medusa is a software library that provides asynchronous event notification. The medusa API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Medusa also supports callbacks triggered by signals and regular timeouts.

License

Notifications You must be signed in to change notification settings

DefensX/medusa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

medusa

  1. overview
  2. download
  3. build
  4. benchmark

1. overview

medusa

2. download

git clone --recursive https://github.com/SecureIndustries/medusa.git

or

git clone https://github.com/SecureIndustries/medusa.git
cd medusa
git submodule update --init --recursive

3. build

3.1. debian

apt install gcc
apt install make
apt install pkg-config

cd medusa
make
make tests

3.2. mingw

MEDUSA_BUILD_EXAMPLES=y \
CROSS_COMPILE_PREFIX=x86_64-w64-mingw32- \
CFLAGS="-DWINVER=_WIN32_WINNT_WIN10 -D_WIN32_WINNT=_WIN32_WINNT_WIN10" \
MEDUSA_TCPSOCKET_OPENSSL_ENABLE=n \
make

4. benchmark

C connections to URL, each connection sends N requests with interval I milliseconds between requests using keep-alive K feature.

medusa-server-benchmark -c C -n N -i I -k K -v 0 URL

About

Medusa is a software library that provides asynchronous event notification. The medusa API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Medusa also supports callbacks triggered by signals and regular timeouts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages