The-EDev
3d88042161
revamped stream tests (body streaming should work properly now)
2020-10-31 03:05:24 +03:00
Igor Mróz
689ba2d5e0
Merge pull request #35 from mrozigor/mustache_fix
...
#6 Fix mustache implementation after specification update.
2020-10-30 21:53:23 +01:00
Igor Mróz
ad71f44a8a
#6 Change URL to build status badge.
2020-10-30 21:41:42 +01:00
Igor Mróz
90b46528d4
#6 Fix mustache implementation after specification update.
2020-10-30 20:29:41 +01:00
The-EDev
97bb487d85
stream test changes
...
test now runs on separate thread from app (to allow the app to write to the socket before the test reads it)
changed value to test agains (since the value I'm testing on is actually the end 305th instance, not the start of the 306th)
2020-10-27 22:53:58 +03:00
Farook Al-Sammarraie
81386da246
Merge branch 'master' into stream-fixes
2020-10-27 16:28:01 +03:00
The-EDev
92d7f2e3c4
optimized the body streaming code
...
has the side effect of removing some messups I made
2020-10-27 16:21:52 +03:00
The-EDev
4f7411d1aa
replaced REQUIRE with CHECK
...
check allows the code to keep running if the check fails, allowing code like app.stop() to execute, which is needed to finalize some tests
2020-10-27 02:43:36 +03:00
The-EDev
be7fc743c9
changed test sections order for sendfile test
2020-10-27 02:41:29 +03:00
The-EDev
5a8c12a9ff
changed response streaming test to test the actual data being sent over the socket
2020-10-27 02:39:20 +03:00
The-EDev
0a21fcbba0
split streaming methods to allow streaming strings as well as streams
2020-10-27 02:36:02 +03:00
Igor Mróz
e3cf473306
Merge pull request #31 from mrozigor/document-app.h
...
Document app.h
2020-10-23 08:39:33 +02:00
The-EDev
c3220a73bc
documented most of app.h
2020-10-22 04:13:57 +03:00
Farook Al-Sammarraie
6cf701b113
Merge pull request #30 from mrozigor/configure-timeout
...
Added method to set timeout (default is 5 seconds)
2020-10-22 00:13:12 +03:00
Farook Al-Sammarraie
bbada35cb1
Merge branch 'master' into configure-timeout
2020-10-21 23:52:37 +03:00
Farook Al-Sammarraie
d966f43e40
Merge pull request #28 from mrozigor/stream_body
...
Streaming response bodies
2020-10-21 23:52:28 +03:00
Farook Al-Sammarraie
c66afeb4d3
Merge branch 'master' into stream_body
2020-10-21 23:29:18 +03:00
Farook Al-Sammarraie
993530df23
Merge pull request #23 from mrozigor/connection-improvements
...
Connection improvements
2020-10-21 23:28:55 +03:00
Farook Al-Sammarraie
1e05fa5447
Merge branch 'master' into configure-timeout
2020-10-21 22:51:20 +03:00
Farook Al-Sammarraie
c4dba56f32
Merge branch 'master' into stream_body
2020-10-21 22:51:16 +03:00
Farook Al-Sammarraie
179114b3c6
Merge branch 'master' into connection-improvements
2020-10-21 22:51:11 +03:00
Farook Al-Sammarraie
79068ba5ec
Merge pull request #24 from mrozigor/travis-changes
...
Travis changes
2020-10-21 22:50:19 +03:00
The-EDev
e1650750ce
fixed typo
2020-10-21 20:56:12 +03:00
The-EDev
9728d652df
changed megabyte name to res_stream_threshold_
2020-10-21 20:54:28 +03:00
The-EDev
a2942468ed
added master only requirement
2020-10-21 20:44:58 +03:00
Farook Al-Sammarraie
019ead45e2
Merge branch 'master' into stream_body
2020-10-21 19:50:01 +03:00
The-EDev
d262b377af
Merge branch 'travis-changes' of git@github.com:mrozigor/crow
2020-10-21 19:45:50 +03:00
The-EDev
518537e078
added condition to prevent for doc builds
2020-10-21 19:45:12 +03:00
Farook Al-Sammarraie
70887d88c3
Merge branch 'master' into travis-changes
2020-10-21 19:42:34 +03:00
Igor Mróz
548510ad80
Merge branch 'master' into connection-improvements
2020-10-21 18:41:05 +02:00
Farook Al-Sammarraie
acd94fca37
Merge branch 'master' into configure-timeout
2020-10-21 19:39:51 +03:00
Igor Mróz
f85e62f5de
Merge pull request #15 from The-EDev/multipart
...
multipart/form-data support
2020-10-21 18:34:23 +02:00
The-EDev
1b284e21b1
removed unneccessary class reference
2020-10-21 16:31:06 +03:00
The-EDev
d04947980d
Added method to set timeout (default is 5 seconds)
2020-10-21 16:06:49 +03:00
The-EDev
bcd135fad6
set connection to stream any respose body larger than 1MB
...
using the same system for static file serving
2020-10-21 04:02:09 +03:00
The-EDev
e5013b16d6
fixed typo
2020-10-20 16:23:09 +03:00
The-EDev
924c264020
added new testing information to README
2020-10-20 16:21:14 +03:00
The-EDev
cdd613935d
removed char <=0 comparison
...
(not sure why it invoked an error in ARM now)
2020-10-20 12:17:00 +03:00
The-EDev
fce4aed563
changed travis config
...
used default gcc (9.3) and clang (7.0)
added ARM64 architecture
removed matrix environment (replaced with `compiler:` and `before-install:`)
removed sources (they were not being allowed anyway)
changed script to use 4 threads instead of 2
replaced test statement with if statement (mainly for consistency)
2020-10-20 12:00:59 +03:00
The-EDev
63ea212e1a
shutting down socket before closing the connection
2020-10-20 11:48:35 +03:00
The-EDev
745f6c95c6
changed verification option to verify once ( #17 )
2020-10-20 11:43:43 +03:00
Farook Al-Sammarraie
7fa73907f8
removed main function
2020-10-20 10:21:29 +03:00
Farook Al-Sammarraie
65b12e88e8
Merge branch 'master' into multipart
2020-10-20 10:10:52 +03:00
Igor Mróz
8a99167d59
Merge pull request #22 from mrozigor/cleanup
...
Cleanup
2020-10-20 08:39:34 +02:00
Igor Mróz
ba5f62a512
Enable debug in tests.
2020-10-20 08:23:40 +02:00
Igor Mróz
942fcd1bc9
Check if number of threads is valid.
2020-10-19 19:26:46 +02:00
Igor Mróz
b6f8e805ff
Fix friend declaration.
2020-10-19 18:55:40 +02:00
Igor Mróz
603ceb377a
Remove debug statements.
2020-10-19 18:32:16 +02:00
Igor Mróz
e1085de237
README cleanup. Tests cleanup.
2020-10-19 18:32:16 +02:00
Igor Mróz
d33f04c7e7
CMakeLists small changes. Add clang-format config. Remove Makefile.
2020-10-19 18:32:16 +02:00