bel
4abc5be165
Use CMAKE_BUILD_TYPE instead of hard coded "Release"
2016-06-25 00:08:58 +02:00
bel
3ca45d6dae
Remove windows specific code from example
2016-06-24 22:23:03 +02:00
bel
3e752feea6
try to fix a curious appveyor build failure that suddenly occured without change
2016-06-24 22:18:40 +02:00
bel
6bc601256a
Auto format after merge
2016-06-24 00:19:05 +02:00
bel2125
03b3428fb9
Merge pull request #322 from xtne6f/fix-thread
...
Fix thread handling
2016-06-24 00:04:35 +02:00
xtne6f
51c2afe8f1
Fix and improve pthread_cond in Windows
...
Fix possible overrun of waitingthreadhdls in case of pthread_cond_timedwait() with
abstime (fortunately abstime is not used).
Related commit is 087cb745e5 .
Related discussion is https://github.com/sunsetbrew/civetweb/pull/30 .
2016-06-14 22:03:21 +09:00
xtne6f
faf6f1f3de
Remove an useless condition
...
This must be an old relic to join threads.
2016-06-14 19:57:11 +09:00
xtne6f
e071d4691e
Fix unlocked broadcast
...
Since the purpose of this broadcast is to notify stop_flag, locking is
once needed.
2016-06-14 19:52:49 +09:00
xtne6f
1c0212798c
Preallocate memory for pollfds
...
Because master_thread has no proper way to exit when allocation failed.
2016-06-14 19:39:05 +09:00
xtne6f
c2e419910f
Remove listening_ports dynamic array
...
"listening_sockets" has duplicate information, so we have only to update
this.
Related commit is 2a4245e379 .
2016-06-14 19:08:52 +09:00
bel
aec25534c2
If NO_SSL is defined, dlopen is not required
2016-06-12 23:24:57 +02:00
bel
16e335a6eb
Some fixes for WinCE
2016-06-12 22:51:06 +02:00
bel
8be52568e8
Add new unit test
2016-06-10 21:47:21 +02:00
bel
e783af1fc3
Add #ifdef to remove function not used if NO_CACHING is not set
2016-06-10 19:39:19 +02:00
bel
150ad4a2e7
Add test for multiline header and do not allow spaces ( #318 )
2016-06-10 19:33:23 +02:00
bel
7accd96c7e
RFC 7230 obsoletes multiline header from RFC 2616
...
According to
https://tools.ietf.org/html/rfc7230#section-3.2.4
multiline header can return "400 Bad Request".
See #318
2016-06-09 22:20:16 +02:00
bel
bade30120f
Remove excess lines in test (copy paste error), see #318
2016-06-08 22:26:40 +02:00
xtne6f
d98f9a203a
Fix response header injection on ssl-redirect using maliciously encoded URIs
2016-06-06 23:51:11 +02:00
xtne6f
81a72a9c59
Fix parsing start-line for avoiding response header injection
2016-06-06 23:50:42 +02:00
xtne6f
f3449a8af5
More compliant 304 response
2016-06-06 23:49:32 +02:00
xtne6f
bf9ceb86f8
Do not send no-cache header for 304 response
2016-06-06 23:48:59 +02:00
xtne6f
e0175ea806
Resolve merge conflict
2016-06-06 23:48:56 +02:00
xtne6f
1afdde421f
Fix lsp_url_encode()
...
Dst might be 3 times as large as the input
2016-06-06 23:43:40 +02:00
xtne6f
97368471d0
Extend mg.write() to return a boolean
2016-06-06 23:43:02 +02:00
xtne6f
9f051f3ddc
Fix the size restriction of percent-encoding
2016-06-06 23:41:39 +02:00
bel
e328850e31
Add dummy SSL_CTX in case NO_SSL is defined
2016-06-06 22:43:46 +02:00
bel
4b52bd5969
Set header value for fields without : to an empty string instead of NULL (see #318 )
2016-06-06 00:27:24 +02:00
bel
3d93a5fad2
Add some replacement functions for WinCE
...
Merge code from SpaceLord (part 1/?)
2016-06-05 23:26:48 +02:00
bel
bdd1bdbb2a
Move WinCE replacement functions close to other OS replacement functions
2016-06-05 22:43:54 +02:00
bel
7e16295a57
Compile NO_SSL without SSL header files
2016-06-05 19:20:04 +02:00
bel2125
455cc3c087
Merge pull request #317 from xtne6f/pr
...
Fix unexpected 301 response
2016-06-05 19:10:34 +02:00
xtne6f
d635fe8e04
Fix unexpected 301 response
2016-06-04 03:09:56 +09:00
bel2125
0f77b00a5e
Merge pull request #314 from kainjow/travis-osx-package
...
Add travis build for making the OS X package
2016-05-30 22:29:36 +02:00
bel2125
985d3ffbbe
Merge branch 'master' of https://github.com/bel2125/civetweb
2016-05-30 22:07:52 +02:00
bel2125
236411c393
Fix 'Edit Settings' problem for Win64 ( #312 )
2016-05-30 22:02:37 +02:00
bel2125
40ce1c04e1
Correct debug/release setting in VisualStudio build
2016-05-30 21:56:02 +02:00
Kevin Wojniak
9ba511faed
Change OS X package from dmg to zip file to fix hdiutil errors in Travis
2016-05-29 17:10:09 -07:00
Kevin Wojniak
61ba177294
Add travis build for making the OS X package
2016-05-29 11:23:06 -07:00
bel2125
5cd3da5ad2
Merge pull request #313 from kainjow/patch-1
...
Update UserManual.md
2016-05-29 20:05:14 +02:00
bel2125
ade2155e2f
Merge pull request #311 from kainjow/osx-lua
...
Add Lua to OS X app
2016-05-29 20:04:10 +02:00
Kevin Wojniak
0524fe84ec
Update UserManual.md
...
Add info for when php-cgi is missing.
2016-05-29 10:06:10 -07:00
bel
1dba82d582
Update version number
2016-05-29 13:42:20 +02:00
bel2125
8870d47662
Merge pull request #310 from kainjow/no-ssl-dl-fixes
...
Fix warnings when building with NO_SSL_DL.
2016-05-29 10:01:47 +02:00
bel2125
20dcc2882b
Merge pull request #309 from kainjow/reserved-macro-name
...
Fix "Macro name is a reserved identifier" on OS X
2016-05-29 10:01:15 +02:00
bel2125
e9cc8fc85c
Merge pull request #308 from kainjow/master
...
Fix typos in header
2016-05-29 10:00:09 +02:00
Kevin Wojniak
f0d5bae4ef
Add Lua to OS X app
2016-05-28 20:47:35 -07:00
Kevin Wojniak
e5837bc21f
Fix warnings when building with NO_SSL_DL.
2016-05-28 19:12:57 -07:00
Kevin Wojniak
55f3e39ceb
Fix "Macro name is a reserved identifier" on OS X
...
This also more accurately only sets these definitions for MSVC.
2016-05-28 14:10:52 -07:00
Kevin Wojniak
d9e4c0ad9d
Fix typos in header
2016-05-28 13:54:44 -07:00
bel
016535194f
Release V1.8
v1.8
2016-05-27 22:47:04 +02:00