diff --git a/HTTPServer b/HTTPServer new file mode 100755 index 0000000..8528b16 Binary files /dev/null and b/HTTPServer differ diff --git a/compile b/compile index 4316321..318b72d 100755 --- a/compile +++ b/compile @@ -5,7 +5,7 @@ do filename="${file%.*}" list="$list $filename.o" echo -n "Compiling $filename..." - g++ -c -I../CoreUtils -I../ServerCore $file & + g++ -g -c -I../CoreUtils -I../ServerCore $file if [ $? = '0' ] then echo "OK" @@ -18,8 +18,7 @@ done wait echo -n "Building executable HTTPServer..." -echo $list -g++ -o HTTPServer -I../CoreUtils -I../ServerCore -L../CoreUtils -L../ServerCore -lCoreUtils -lServerCore $list +g++ -g -o HTTPServer $list -L../CoreUtils -lCoreUtils -L../ServerCore -lServerCore -lpthread -luuid -lssl -lcrypto if [ $? = '0' ] then echo "OK" diff --git a/core b/core new file mode 100644 index 0000000..cd77b0f Binary files /dev/null and b/core differ diff --git a/main.cpp b/main.cpp index 9131470..1ff16fc 100644 --- a/main.cpp +++ b/main.cpp @@ -39,7 +39,6 @@ int main(int argc, char **argv) { catch(coreutils::Exception exception) { std::cout << exception.text << " Error reason is '" << strerror(exception.errorNumber) << "' in file " << exception.file << " at line " << exception.line << std::endl; - sleep(10); } }