Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "External/CocoaHTTPServer"]
path = External/CocoaHTTPServer
url = https://github.com/robbiehanson/CocoaHTTPServer.git
url = https://github.com/shvul/CocoaHTTPServer.git
2 changes: 1 addition & 1 deletion External/CocoaHTTPServer
Submodule CocoaHTTPServer updated 56 files
+13 −0 .travis.yml
+44 −0 CocoaHTTPServer.podspec.json
+19 −39 Core/HTTPConnection.m
+5 −1 Core/HTTPServer.h
+20 −32 Core/HTTPServer.m
+20 −14 Core/Mime/MultipartFormDataParser.m
+1 −1 Core/Mime/MultipartMessageHeader.m
+8 −14 Core/Mime/MultipartMessageHeaderField.m
+1 −1 Core/Responses/HTTPAsyncFileResponse.h
+3 −29 Core/Responses/HTTPAsyncFileResponse.m
+9 −0 Core/Responses/HTTPErrorResponse.h
+38 −0 Core/Responses/HTTPErrorResponse.m
+11 −3 Core/WebSocket.h
+11 −31 Core/WebSocket.m
+20 −7 Extensions/WebDAV/DAVResponse.m
+7 −0 README.markdown
+19 −5 Samples/DynamicServer/DynamicServer.xcodeproj/project.pbxproj
+8 −0 Samples/DynamicServer/DynamicServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/DynamicServer/DynamicServer.xcodeproj/xcshareddata/xcschemes/DynamicServer.xcscheme
+2 −2 Samples/DynamicServer/HTTPResponseTest.h
+97 −25 Samples/DynamicServer/HTTPResponseTest.m
+11 −5 Samples/PasswdHTTPServer/PasswdHTTPServer.xcodeproj/project.pbxproj
+8 −0 ...s/PasswdHTTPServer/PasswdHTTPServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/PasswdHTTPServer/PasswdHTTPServer.xcodeproj/xcshareddata/xcschemes/PasswdHTTPServer.xcscheme
+11 −5 Samples/PostHTTPServer/PostHTTPServer.xcodeproj/project.pbxproj
+8 −0 Samples/PostHTTPServer/PostHTTPServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/PostHTTPServer/PostHTTPServer.xcodeproj/xcshareddata/xcschemes/PostHTTPServer.xcscheme
+11 −5 Samples/SecureHTTPServer/SecureHTTPServer.xcodeproj/project.pbxproj
+8 −0 ...s/SecureHTTPServer/SecureHTTPServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/SecureHTTPServer/SecureHTTPServer.xcodeproj/xcshareddata/xcschemes/SecureHTTPServer.xcscheme
+11 −5 Samples/SecureWebSocketServer/SecureWebSocketServer.xcodeproj/project.pbxproj
+8 −0 ...bSocketServer/SecureWebSocketServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 ...SecureWebSocketServer/SecureWebSocketServer.xcodeproj/xcshareddata/xcschemes/SecureWebSocketServer.xcscheme
+9 −3 Samples/SimpleFileUploadServer/SimpleFileUploadServer.xcodeproj/project.pbxproj
+8 −0 ...UploadServer/SimpleFileUploadServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 ...pleFileUploadServer/SimpleFileUploadServer.xcodeproj/xcshareddata/xcschemes/SimpleFileUploadServer.xcscheme
+7 −2 Samples/SimpleFileUploadServer/SimpleFileUploadServer/MyHTTPConnection.m
+8 −0 ...s/SimpleHTTPServer/SimpleHTTPServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/SimpleHTTPServer/SimpleHTTPServer.xcodeproj/xcshareddata/xcschemes/SimpleHTTPServer.xcscheme
+11 −5 Samples/SimpleWebSocketServer/SimpleWebSocketServer.xcodeproj/project.pbxproj
+8 −0 ...bSocketServer/SimpleWebSocketServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 ...SimpleWebSocketServer/SimpleWebSocketServer.xcodeproj/xcshareddata/xcschemes/SimpleWebSocketServer.xcscheme
+11 −5 Samples/WebDAVServer/WebDAVServer.xcodeproj/project.pbxproj
+8 −0 Samples/WebDAVServer/WebDAVServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/WebDAVServer/WebDAVServer.xcodeproj/xcshareddata/xcschemes/WebDAVServer.xcscheme
+ Samples/iPhoneHTTPServer/Default-568h@2x.png
+15 −3 Samples/iPhoneHTTPServer/iPhoneHTTPServer.xcodeproj/project.pbxproj
+8 −0 ...s/iPhoneHTTPServer/iPhoneHTTPServer.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+86 −0 Samples/iPhoneHTTPServer/iPhoneHTTPServer.xcodeproj/xcshareddata/xcschemes/iPhoneHTTPServer.xcscheme
+113 −85 Vendor/CocoaAsyncSocket/GCDAsyncSocket.h
+257 −130 Vendor/CocoaAsyncSocket/GCDAsyncSocket.m
+5 −5 Vendor/CocoaLumberjack/DDASLLogger.m
+243 −170 Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m
+2 −27 Vendor/CocoaLumberjack/DDFileLogger.m
+1 −1 Vendor/CocoaLumberjack/DDLog.h
+20 −39 Vendor/CocoaLumberjack/DDLog.m
2 changes: 2 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>RoutingHTTPServer</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
1 change: 1 addition & 0 deletions RoutingHTTPServer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = '4.0'
s.osx.deployment_target = '10.7'
s.tvos.deployment_target = '9.0'

s.dependency 'CocoaHTTPServer', '~> 2.3'
end
257 changes: 257 additions & 0 deletions RoutingHTTPServer.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EE158D7C1CBD56C400A3E3F0"
BuildableName = "RoutingHttpServer.framework"
BuildableName = "RoutingHTTPServer.framework"
BlueprintName = "RoutingHTTPServer iOS"
ReferencedContainer = "container:RoutingHTTPServer.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -46,7 +46,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EE158D7C1CBD56C400A3E3F0"
BuildableName = "RoutingHttpServer.framework"
BuildableName = "RoutingHTTPServer.framework"
BlueprintName = "RoutingHTTPServer iOS"
ReferencedContainer = "container:RoutingHTTPServer.xcodeproj">
</BuildableReference>
Expand All @@ -64,7 +64,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EE158D7C1CBD56C400A3E3F0"
BuildableName = "RoutingHttpServer.framework"
BuildableName = "RoutingHTTPServer.framework"
BlueprintName = "RoutingHTTPServer iOS"
ReferencedContainer = "container:RoutingHTTPServer.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1CC3198B2195D038003F0325"
BuildableName = "RoutingHTTPServer tvOS.framework"
BlueprintName = "RoutingHTTPServer tvOS"
ReferencedContainer = "container:RoutingHTTPServer.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1CC3198B2195D038003F0325"
BuildableName = "RoutingHTTPServer tvOS.framework"
BlueprintName = "RoutingHTTPServer tvOS"
ReferencedContainer = "container:RoutingHTTPServer.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1CC3198B2195D038003F0325"
BuildableName = "RoutingHTTPServer tvOS.framework"
BlueprintName = "RoutingHTTPServer tvOS"
ReferencedContainer = "container:RoutingHTTPServer.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>