Commit Graph

79 Commits

Author SHA1 Message Date
b060305d6d Only fallback to -[NSData base64Encoding] on macOS prior to 10.9 2019-01-03 17:35:35 -08:00
561f56e7fb Only fallback to -[NSData base64Encoding] on macOS 2019-01-03 17:30:21 -08:00
e9fdd19830 Use @available() to check for API availability instead of -respondsToSelector: 2019-01-03 17:24:31 -08:00
03fae468d1 Fixed implicit-retain-self warnings 2019-01-03 17:15:02 -08:00
0a7d185417 Fixed warning 2019-01-03 17:15:02 -08:00
acc54ceac3 Handle CFHTTPMessageCopyBody() now returning NULL for valid messages without a body 2019-01-03 16:12:30 -08:00
c46a2ddb22 Ensure directories are always listed in deterministic order
macOS APIs have recently changed and do not return sorted entries for directories.
2019-01-03 16:12:30 -08:00
79ae63a4c0 Fixed build warnings 2018-12-14 07:37:35 -08:00
21cc6bfb35 Added types to collections 2018-12-14 07:37:28 -08:00
bac5b680df Updated to clang-format 7.0.0 2018-12-14 07:10:03 -08:00
47ed2cc593 Remove support for CocoaLumberJack
Fix #328
2017-08-21 11:37:21 +02:00
09851dd71b Modernize ObjC 2017-06-24 09:25:04 -07:00
83f1c062b5 Use clang-formatter to format source code 2016-12-27 11:02:32 +09:00
5834770e08 Removed exception handling which was only partial anyway 2016-06-29 21:38:57 -07:00
fa41f26b30 Add an option to set the priority of the dispatch queue 2016-04-03 20:11:35 -04:00
47a51c3d42 Fix NSRangeException by checking range of NSTextCheckingResult 2016-01-08 18:06:55 +01:00
cad428ca6f Removed deprecation warnings on tvOS 2015-11-01 11:25:18 -08:00
aaf8679308 Increased Bonjour resolution timeout to 5 seconds 2015-09-16 11:34:16 -07:00
81d74b46b8 Fix 2015-09-16 11:26:00 -07:00
e70a3338a5 Added support for NAT port mapping 2015-09-16 11:16:41 -07:00
f7bb5babf8 Bumped copyright year 2015-09-09 08:24:47 -07:00
aa8fc97b9b Fixed buffer overflow when retrieving socket addresses 2015-07-03 10:17:33 -07:00
a3606d6027 Don't start a background task while the app is already in background 2015-04-30 14:53:45 -07:00
0a9d3105fc Fixed -serverURL not taking into account GCDWebServerOption_BindToLocalhost 2015-04-13 13:02:52 -07:00
594497d234 Updated for CocoaLumberJack 2.0 2015-03-21 11:10:10 -07:00
9c33c83351 Handle starting the server with nil options 2015-03-05 16:48:11 -08:00
4e31508195 Removed invalid check 2014-12-02 08:39:29 -08:00
d2001e38ca Fixes 2014-11-28 16:21:01 +09:00
18889793b7 Fixed behavior of GCDWebServerOption_BonjourName option 2014-11-19 09:01:57 +09:00
14d538b0fb Added GCDWebServerOption_BindToLocalhost option 2014-11-19 08:56:43 +09:00
abb891334a Adding check to _endBackgroundTask to verify the application exists before calling GWS_DNOT_REACHED.
This enables what is admittedly a rare scenario which is running these servers inside application-less unit tests where there is no UIApplication.
2014-11-18 14:13:00 -08:00
32ba49ae34 Removed MRC support entirely 2014-10-18 09:32:24 -07:00
75d018a375 #85 Added support for IPv6 2014-10-14 00:45:08 -07:00
c45053bc11 Added support for third-party logging facilities 2014-10-13 22:45:07 -07:00
420ddc3eac Replaced preprocessor constant "NDEBUG" by the more standard "DEBUG" one and flipped behavior accordingly 2014-10-10 10:27:07 -07:00
b35ebd7d58 #92 Added support for async handlers 2014-10-09 09:53:03 -07:00
54d5abd3a8 Fixed rare race-condition with disconnection timer 2014-10-07 13:26:55 -07:00
3771cf4e92 Adding an attribute collection to GCDWebServerRequest and adding regular expression captures as an attribute. 2014-09-30 10:45:45 -07:00
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
12b1edb958 #70 Ensure -isRunning works as expected even if GCDWebServerOption_AutomaticallySuspendInBackground is enabled 2014-07-23 07:40:37 -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
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
8cbaf0f867 Added video streaming unit test 2014-04-30 11:31:20 -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