Skip to content

Commit

Permalink
Initial import, WebSockets Protocol Implementation, non-SSL and TLSv1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kraynyukhov committed Jan 28, 2018
1 parent d8c0f6f commit d4f3602
Show file tree
Hide file tree
Showing 41 changed files with 20,809 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dep.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This code depends on make tool being used
DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES} ${TESTOBJECTFILES}))
ifneq (${DEPFILES},)
include ${DEPFILES}
endif
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lapps.log
dist/
test/
674 changes: 674 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
#
# There exist several targets which are by default empty and which can be
# used for execution of your targets. These targets are usually executed
# before and after some main targets. They are:
#
# .build-pre: called before 'build' target
# .build-post: called after 'build' target
# .clean-pre: called before 'clean' target
# .clean-post: called after 'clean' target
# .clobber-pre: called before 'clobber' target
# .clobber-post: called after 'clobber' target
# .all-pre: called before 'all' target
# .all-post: called after 'all' target
# .help-pre: called before 'help' target
# .help-post: called after 'help' target
#
# Targets beginning with '.' are not intended to be called on their own.
#
# Main targets can be executed directly, and they are:
#
# build build a specific configuration
# clean remove built files from a configuration
# clobber remove all built files
# all build all configurations
# help print help mesage
#
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
# .help-impl are implemented in nbproject/makefile-impl.mk.
#
# Available make variables:
#
# CND_BASEDIR base directory for relative paths
# CND_DISTDIR default top distribution directory (build artifacts)
# CND_BUILDDIR default top build directory (object files, ...)
# CONF name of current configuration
# CND_PLATFORM_${CONF} platform name (current configuration)
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
#
# NOCDDL


# Environment
MKDIR=mkdir
CP=cp
CCADMIN=CCadmin


# build
build: .build-post

.build-pre:
# Add your pre 'build' code here...

.build-post: .build-impl
# Add your post 'build' code here...


# clean
clean: .clean-post

.clean-pre:
# Add your pre 'clean' code here...

.clean-post: .clean-impl
# Add your post 'clean' code here...


# clobber
clobber: .clobber-post

.clobber-pre:
# Add your pre 'clobber' code here...

.clobber-post: .clobber-impl
# Add your post 'clobber' code here...


# all
all: .all-post

.all-pre:
# Add your pre 'all' code here...

.all-post: .all-impl
# Add your post 'all' code here...


# build tests
build-tests: .build-tests-post

.build-tests-pre:
# Add your pre 'build-tests' code here...

.build-tests-post: .build-tests-impl
# Add your post 'build-tests' code here...


# run tests
test: .test-post

.test-pre: build-tests
# Add your pre 'test' code here...

.test-post: .test-impl
# Add your post 'test' code here...


# help
help: .help-post

.help-pre:
# Add your pre 'help' code here...

.help-post: .help-impl
# Add your post 'help' code here...



# include project implementation makefile
include nbproject/Makefile-impl.mk

# include project make variables
include nbproject/Makefile-variables.mk
Binary file added build/Debug/GNU-Linux/src/getLog.o
Binary file not shown.
50 changes: 50 additions & 0 deletions build/Debug/GNU-Linux/src/getLog.o.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
build/Debug/GNU-Linux/src/getLog.o: src/getLog.cpp \
../ITCLib/include/TSLog.h ../ITCLib/include/abstract/LoggerHelpers.h \
../ITCLib/include/Logger.h ../utils/include/Val2Type.h \
../ITCLib/include/abstract/ILogFormatter.h \
../ITCLib/include/StdTextLogFormatter.h ../ITCLib/include/sys/synclock.h \
../ITCLib/include/LogOutBuffer.h ../utils/include/Date.h \
../ITCLib/include/TSafeLogOutAdapter.h \
../ITCFramework/include/Singleton.h ../ITCLib/include/sys/Nanosleep.h \
../ITCLib/include/sys/PosixSemaphore.h ../ITCLib/include/ITCException.h \
../ITCLib/include/ITCError.h ../ITCLib/include/sys/Types.h \
../ITCLib/include/sys/prototypes.h ../ITCLib/include/GAINTLock.h \
../ITCLib/include/globals.h

../ITCLib/include/TSLog.h:

../ITCLib/include/abstract/LoggerHelpers.h:

../ITCLib/include/Logger.h:

../utils/include/Val2Type.h:

../ITCLib/include/abstract/ILogFormatter.h:

../ITCLib/include/StdTextLogFormatter.h:

../ITCLib/include/sys/synclock.h:

../ITCLib/include/LogOutBuffer.h:

../utils/include/Date.h:

../ITCLib/include/TSafeLogOutAdapter.h:

../ITCFramework/include/Singleton.h:

../ITCLib/include/sys/Nanosleep.h:

../ITCLib/include/sys/PosixSemaphore.h:

../ITCLib/include/ITCException.h:

../ITCLib/include/ITCError.h:

../ITCLib/include/sys/Types.h:

../ITCLib/include/sys/prototypes.h:

../ITCLib/include/GAINTLock.h:

../ITCLib/include/globals.h:
Binary file added build/Debug/GNU-Linux/src/lookupAppError.o
Binary file not shown.
1 change: 1 addition & 0 deletions build/Debug/GNU-Linux/src/lookupAppError.o.d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/Debug/GNU-Linux/src/lookupAppError.o: src/lookupAppError.cpp
Binary file added build/Debug/GNU-Linux/src/main.o
Binary file not shown.
132 changes: 132 additions & 0 deletions build/Debug/GNU-Linux/src/main.o.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
build/Debug/GNU-Linux/src/main.o: src/main.cpp ../ITCLib/include/TSLog.h \
../ITCLib/include/abstract/LoggerHelpers.h ../ITCLib/include/Logger.h \
../utils/include/Val2Type.h ../ITCLib/include/abstract/ILogFormatter.h \
../ITCLib/include/StdTextLogFormatter.h ../ITCLib/include/sys/synclock.h \
../ITCLib/include/LogOutBuffer.h ../utils/include/Date.h \
../ITCLib/include/TSafeLogOutAdapter.h include/wsServer.h \
../ITCFramework/include/TCPListener.h \
../ITCFramework/include/TCPSocketDef.h ../ITCLib/include/net/NSocket.h \
../utils/include/compat_types.h ../ITCLib/include/ITCError.h \
../ITCLib/include/ITCException.h ../ITCLib/include/abstract/ISocket.h \
../ITCFramework/include/ClientSocketsFactory.h \
../utils/include/InterfaceCheck.h \
../ITCFramework/include/abstract/IController.h \
../ITCFramework/include/abstract/IView.h \
../ITCLib/include/abstract/Runnable.h \
../ITCLib/include/sys/CancelableThread.h ../ITCLib/include/sys/Thread.h \
../ITCLib/include/sys/Types.h ../ITCLib/include/abstract/Cleanable.h \
../ITCLib/include/sys/PosixSemaphore.h \
../ITCLib/include/sys/prototypes.h ../ITCLib/include/GAINTLock.h \
../ITCLib/include/globals.h ../ITCFramework/include/Singleton.h \
../ITCLib/include/sys/Nanosleep.h \
../ITCFramework/include/ThreadPoolManager.h \
../ITCFramework/include/ThreadPool.h ../utils/include/bdmap.h \
../ITCFramework/include/abstract/IThreadPool.h \
../ITCLib/include/sys/PThread.h include/ext/json.hpp include/Config.h \
include/Env.h include/Worker.h include/ePoll.h include/WebSocket.h \
include/WSStreamProcessor.h include/WSProtocol.h \
include/WSServerMessage.h ../libressl/include/tls.h \
include/HTTPRequestParser.h include/InboundConnectionsPool.h \
../ITCFramework/include/tsbqueue.h

../ITCLib/include/TSLog.h:

../ITCLib/include/abstract/LoggerHelpers.h:

../ITCLib/include/Logger.h:

../utils/include/Val2Type.h:

../ITCLib/include/abstract/ILogFormatter.h:

../ITCLib/include/StdTextLogFormatter.h:

../ITCLib/include/sys/synclock.h:

../ITCLib/include/LogOutBuffer.h:

../utils/include/Date.h:

../ITCLib/include/TSafeLogOutAdapter.h:

include/wsServer.h:

../ITCFramework/include/TCPListener.h:

../ITCFramework/include/TCPSocketDef.h:

../ITCLib/include/net/NSocket.h:

../utils/include/compat_types.h:

../ITCLib/include/ITCError.h:

../ITCLib/include/ITCException.h:

../ITCLib/include/abstract/ISocket.h:

../ITCFramework/include/ClientSocketsFactory.h:

../utils/include/InterfaceCheck.h:

../ITCFramework/include/abstract/IController.h:

../ITCFramework/include/abstract/IView.h:

../ITCLib/include/abstract/Runnable.h:

../ITCLib/include/sys/CancelableThread.h:

../ITCLib/include/sys/Thread.h:

../ITCLib/include/sys/Types.h:

../ITCLib/include/abstract/Cleanable.h:

../ITCLib/include/sys/PosixSemaphore.h:

../ITCLib/include/sys/prototypes.h:

../ITCLib/include/GAINTLock.h:

../ITCLib/include/globals.h:

../ITCFramework/include/Singleton.h:

../ITCLib/include/sys/Nanosleep.h:

../ITCFramework/include/ThreadPoolManager.h:

../ITCFramework/include/ThreadPool.h:

../utils/include/bdmap.h:

../ITCFramework/include/abstract/IThreadPool.h:

../ITCLib/include/sys/PThread.h:

include/ext/json.hpp:

include/Config.h:

include/Env.h:

include/Worker.h:

include/ePoll.h:

include/WebSocket.h:

include/WSStreamProcessor.h:

include/WSProtocol.h:

include/WSServerMessage.h:

../libressl/include/tls.h:

include/HTTPRequestParser.h:

include/InboundConnectionsPool.h:

../ITCFramework/include/tsbqueue.h:
Loading

0 comments on commit d4f3602

Please sign in to comment.