Alsmost TLS
This commit is contained in:
		
							parent
							
								
									10fa23bba3
								
							
						
					
					
						commit
						385c7068e1
					
				
							
								
								
									
										
											BIN
										
									
								
								HTTPServer
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								HTTPServer
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										5
									
								
								compile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								compile
									
									
									
									
									
								
							| @ -5,7 +5,7 @@ do | |||||||
|    filename="${file%.*}" |    filename="${file%.*}" | ||||||
|    list="$list $filename.o"   |    list="$list $filename.o"   | ||||||
|    echo -n "Compiling $filename..." |    echo -n "Compiling $filename..." | ||||||
|    g++ -c -I../CoreUtils -I../ServerCore $file & |    g++ -g -c -I../CoreUtils -I../ServerCore $file  | ||||||
|    if [ $? = '0' ] |    if [ $? = '0' ] | ||||||
|    then |    then | ||||||
|     echo "OK" |     echo "OK" | ||||||
| @ -18,8 +18,7 @@ done | |||||||
| 
 | 
 | ||||||
| wait | wait | ||||||
| echo -n "Building executable HTTPServer..." | echo -n "Building executable HTTPServer..." | ||||||
| echo $list | g++ -g -o HTTPServer $list -L../CoreUtils -lCoreUtils -L../ServerCore -lServerCore -lpthread -luuid -lssl -lcrypto | ||||||
| g++ -o HTTPServer -I../CoreUtils -I../ServerCore  -L../CoreUtils -L../ServerCore -lCoreUtils -lServerCore $list |  | ||||||
| if [ $? = '0' ] | if [ $? = '0' ] | ||||||
| then | then | ||||||
|  echo "OK" |  echo "OK" | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.cpp
									
									
									
									
									
								
							| @ -39,7 +39,6 @@ int main(int argc, char **argv) { | |||||||
| 
 | 
 | ||||||
|    catch(coreutils::Exception exception) { |    catch(coreutils::Exception exception) { | ||||||
|       std::cout << exception.text << " Error reason is '" << strerror(exception.errorNumber) << "' in file " << exception.file << " at line " << exception.line << std::endl; |       std::cout << exception.text << " Error reason is '" << strerror(exception.errorNumber) << "' in file " << exception.file << " at line " << exception.line << std::endl; | ||||||
|       sleep(10); |  | ||||||
|    } |    } | ||||||
|     |     | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user