Commit Graph

70 Commits

Author SHA1 Message Date
f1e9f1a37c Improved handling of symbolic links in -addGETHandlerForBasePath:directoryPath:indexFilename:cacheAge:allowRangeRequests: 2014-09-19 08:19:49 -07:00
00b5ec87ba #76 Fixed -bonjourServerURL to correctly return hostname instead of service name 2014-09-15 09:00:39 -07:00
17fad0f1b9 Improved automatic detection of when to use dispatch_retain() and dispatch_release() depending on compiler settings 2014-08-24 12:24:16 -07:00
12b1edb958 #70 Ensure -isRunning works as expected even if GCDWebServerOption_AutomaticallySuspendInBackground is enabled 2014-07-23 07:40:37 -07:00
a7f46b762f Fix content-types like "application/json; charset=utf-8" 2014-05-16 11:55:20 -07:00
93bfe65211 Removed unneeded API. If custom Bonjour type is needed, startWithOptions should be used to specify an options dictionary with the custom type. 2014-05-16 17:12:52 +02:00
8ab53f74d5 Can specify a custom Bonjour service type for the server. 2014-05-16 11:20:28 +02:00
4db631fa27 Fixed errno being corrupted by LOG_ERROR() 2014-05-02 22:17:25 -07:00
04f59a9214 Fix GCDWebServerParseURLEncodedForm to allow empty values.
If the input string is something like foo=&bar= then both foo and bar
should be in the result, with the empty string as their corresponding value.

The [scanner scanUpToString:@"&" ...] call was returning failure, because
it was already positioned at the &.  In this situation, just set value to the
empty string.
2014-04-30 17:08:42 -07:00
40ea252ad6 Ensure connected state is updated immediately after calling -stop 2014-04-30 14:04:46 -07:00
94ad8c745e No need to call -stop from -dealloc 2014-04-30 13:36:06 -07:00
56c096996f Fix 2014-04-30 13:06:02 -07:00
8cbaf0f867 Added video streaming unit test 2014-04-30 11:31:20 -07:00
295901c0b3 Reject files greater than 4 GiB in 32 bit mode 2014-04-30 09:57:12 -07:00
2dda0c98ce #50 Use NSUIntegerMax instead of NSNotFound to indicate undefined length 2014-04-30 09:56:18 -07:00
1b12a7bd14 Ensure pending scheduled callbacks have executed in "run" APIs 2014-04-29 22:12:28 -07:00
75e6332500 Don't delay disconnected state update if already stopped 2014-04-29 22:06:13 -07:00
420ed719e8 Add SIGTERM support to -runWithOptions:error: 2014-04-29 16:20:03 -07:00
3b75f9dd20 Added -rewriteRequestURL:withMethod:headers: hook 2014-04-28 14:09:15 -07:00
1f5e650423 Fix 2014-04-27 19:20:38 -07:00
d404112a88 #46 Added "error" argument to -startWithOptions: 2014-04-27 19:19:55 -07:00
dd3f539f74 #47 Ensure listening socket is closed when -stop returns 2014-04-27 19:05:34 -07:00
0c53c52dd4 Fix 2014-04-27 12:50:36 -07:00
a687b52563 #39 Added support for "multipart/mixed" parts inside "multipart/form-data" 2014-04-26 19:31:11 -07:00
c8d2b225ba Modified GCDWebServerMultiPart to allow duplicate control names 2014-04-24 19:01:46 -07:00
f7d6da55cd Added GCDWebServerMIMEStreamParser class 2014-04-24 18:45:34 -07:00
5a0c274807 Fix 2014-04-23 10:40:43 -07:00
46890a0642 Merge pull request #43 from iosphere/pullrequest/unusedVar
Fixes a static analyzer warning about unused variables for disabled logging
2014-04-21 21:15:35 -03:00
143ca5b99f Fix 2014-04-20 10:34:45 -03:00
a93cac5ea6 Fix 2014-04-19 22:56:45 -03:00
43b578677f Fix 2014-04-19 22:19:47 -03:00
10cbe27e50 Fixed open() calls 2014-04-19 22:17:17 -03:00
766072eb89 Renamed GCDWebServerStreamingResponse to GCDWebServerStreamedResponse.h 2014-04-19 17:43:36 -03:00
0807cf5fe6 #33 Documented Requests/ and Responses/ 2014-04-19 17:39:09 -03:00
075774b6c0 Added -webServerDidCompleteBonjourRegistration: 2014-04-19 12:57:01 -03:00
7743d18006 Added -logException: 2014-04-19 12:52:34 -03:00
633d40f155 Don't cache GCDWebServerDataResponse 2014-04-19 12:51:36 -03:00
5d82a80a34 #33 Documented Core/ 2014-04-19 12:51:00 -03:00
3e5fe3f956 Fixes logging for non-arc builds 2014-04-19 14:09:55 +02:00
a5208bd60f Fixes a static analyzer warning about unused variables when logging is disabled 2014-04-18 21:26:18 +02:00
1ca5a56952 Allow multiple user accounts for authentication 2014-04-18 12:50:11 -03:00
1e17d5c455 #38 Added support for digest authentication 2014-04-18 12:32:55 -03:00
ce1eb3c29a Fix 2014-04-18 12:31:41 -03:00
60f281fd30 #40 Allow non ISO Latin 1 file names when downloading files 2014-04-18 10:46:50 -03:00
4685fae29c Cleaned up authentication options 2014-04-17 23:08:16 -03:00
8619799e62 Added -preflightRequest: and -overrideResponse:forRequest: APIs 2014-04-17 22:51:55 -03:00
b1061378fb Fix 2014-04-17 22:16:25 -03:00
3f304b3c14 Fixed parsing of 'multipart/form-data' with non-ASCII headers 2014-04-17 11:50:09 -03:00
80348079a6 Added support for Basic Authentication 2014-04-17 11:14:17 -03:00
099b2a03e6 Updated run APIs to use options 2014-04-17 11:12:18 -03:00