caviar-hacker-grid's People
caviar-hacker-grid's Issues
Add UTF16 String Support
Makefile Test Dependency should not be .cc
The implicit rule should not point to a .cc, and instead to a .o (or no extension). Otherwise, this will lead to bugs regarding the dependencies not being able to track tests properly.
HTTP Request Segfaults on Malformed Request
If the request is malformed and has no headers (i.e. GET / HTTP/1.1\r\n\r\n
), the code will segfault when it tries to access the request data.
Create HTTP Response Lexer
Create HTTP Request Lexer + Parser
Memory Leak
Webserver options never gets deleted. The destructor should delete the internal maps.
Recursively Load tests in Makefile
Currently the Makefile loads files by looking at a list manually entered in the Makefile. There should be a way to make one of two improvements:
- Automatically infer the test file (instead of having a second list). Naming conventions support that the test file is named the same as the .cc file with a _test appended to the name (%.cc => %_test.cc)
- Automatically infer all the files, and differentiate the flags run when doing tests. This is much more complex, put should be doable. It would recursively look for all files with the .cc ending, check if it has _test and use the appropriate flags correspondingly. (Or, have two implicit rules with string matching _test.cc and .cc, and understand precedence in Makefiles)
gcov compilation flags
In the Makefile, the target be
`gcov:CPPFLAGS+=-fprofile-arcs -ftest-coverage
instead of hard coding it.
Server (attempts) to run on invalid ports
To reproduce:
Make the config port 65536, for example.
To test private instance variables
URL Parsing Bug on Special Characters
Special characters are not parsed into their actual expected character -- for example %20 should become a space character.
Support Streaming Data
Currently data isn't streaming -- serving files is loaded into static memory (bad idea 1, heap is better than stack) all at once, and then put to the socket.
Instead, it should read some and write some data, then read some more data and write some more data.
Makefile Test Dependency
Should only load util-classes as well as the relevant test file -- not all the test files.
Flaky integration test
It randomly fails (due to a race condition perhaps? needs investigation) and says that ps aux fails with an error code of 1.
Restarting the build can resolve this.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.