Skip to content

jakub-moravec/b4m36esw-cpp-libmicrohttpd-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

b4m36esw-cpp-libmicrohttpd-server

Assignment

Write an HTTP 1.1 protocol based server application, which will count unique words in data sent by clients. The server must meet the following requirements:

Clients send data using POST method with path /esw/myserver/data. Data are in plain text format encoded in UTF-8 and compressed by gzip method. The server counts unique words. On startup, the counter equals zero. The server keeps records of words sent by clients. The unique word counter is increased by one for each new word, which is not in records yet. If a GET request with path /esw/myserver/count arrives, the server will answer actual value of unique count and reset it. The value is transferred as a decadic number in UTF-8 encoding. The server must be able to handle a large number of simultaneously connected clients (approximately 100).

Third party libraries used in project

Liburcu - http://liburcu.org/ Microhttpd - https://www.gnu.org/software/libmicrohttpd/ Zlib - http://zlib.net/

All libraries need to be build with the application. E.g as is done in makefile or CmakeList.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published