Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgo committed Aug 31, 2021
1 parent 7eeb478 commit 806b597
Show file tree
Hide file tree
Showing 3 changed files with 419 additions and 0 deletions.
83 changes: 83 additions & 0 deletions win-ngrok-c.cbp
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="ngrok-c" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/ngrokc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Option parameters="-SER[Shost:tunnel.qydev.com,Sport:4443] -AddTun[Type:http,Lhost:127.0.0.1,Lport:80,Sdname:xxdosgo,Hostheader:localhost] " />
<Compiler>
<Add option="-m32" />
<Add option="-g" />
</Compiler>
<Linker>
<Add option="-m32" />
<Add library="D:/c/ngrok-c/openssl/libcrypto.dll.a" />
<Add library="D:/c/ngrok-c/openssl/libssl.dll.a" />
<Add library="C:/TDM-GCC-64/x86_64-w64-mingw32/lib32/libws2_32.a" />
</Linker>
</Target>
<Target title="Release">
<Option output="bin/Release/ngrokc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Option parameters="-SER[Shost:tunnel.qydev.com,Sport:4443] -AddTun[Type:http,Lhost:127.0.0.1,Lport:80,Sdname:xxdosgo,Hostheader:localhost] " />
<Compiler>
<Add option="-O2" />
<Add option="-m32" />
</Compiler>
<Linker>
<Add option="-s" />
<Add option="-m32" />
<Add library="C:/TDM-GCC-64/x86_64-w64-mingw32/lib32/libws2_32.a" />
<Add library="D:/c/ngrok-c/openssl/libcrypto.dll.a" />
<Add library="D:/c/ngrok-c/openssl/libssl.dll.a" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fexceptions" />
</Compiler>
<Unit filename="base64.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="base64.h" />
<Unit filename="bytestool.h" />
<Unit filename="cJSON.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="cJSON.h" />
<Unit filename="config.h" />
<Unit filename="global.cpp" />
<Unit filename="global.h" />
<Unit filename="main.cpp" />
<Unit filename="ngrok.cpp" />
<Unit filename="ngrok.h" />
<Unit filename="nonblocking.cpp" />
<Unit filename="nonblocking.h" />
<Unit filename="opensslbio.cpp" />
<Unit filename="opensslbio.h" />
<Unit filename="openssldl.cpp" />
<Unit filename="openssldl.h" />
<Unit filename="polarsslbio.cpp" />
<Unit filename="polarsslbio.h" />
<Unit filename="sendmsg.cpp" />
<Unit filename="sendmsg.h" />
<Unit filename="sslbio.h" />
<Unit filename="udp.cpp" />
<Unit filename="udp.h" />
<Extensions>
<code_completion />
<debugger />
<envvars />
</Extensions>
</Project>
</CodeBlocks_project_file>
211 changes: 211 additions & 0 deletions win-ngrok-c.depend
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# depslib dependency file v1.0
1564149050 source:d:\c\ngrok-c\cjson.c
<string.h>
<stdio.h>
<math.h>
<stdlib.h>
<float.h>
<limits.h>
<ctype.h>
"cJSON.h"

1564149050 d:\c\ngrok-c\cjson.h

1564149050 source:d:\c\ngrok-c\global.cpp
"global.h"

1564149050 d:\c\ngrok-c\global.h
<string>
<map>
<list>
"sslbio.h"
<netinet/in.h>

1564149050 d:\c\ngrok-c\sslbio.h
"config.h"
<malloc.h>
"opensslbio.h"
"polarsslbio.h"

1572698127 d:\c\ngrok-c\config.h
<stdarg.h>
<stdio.h>
<string.h>
"global.h"

1564149050 d:\c\ngrok-c\opensslbio.h
"config.h"
<malloc.h>
<openssl/ssl.h>
<openssl/bio.h>
<openssl/err.h>
"openssldl.h"

1564246755 d:\c\ngrok-c\openssldl.h
<openssl/ssl.h>

1564149050 d:\c\ngrok-c\polarsslbio.h
"config.h"
<malloc.h>
<mbedtls/ssl.h>
<mbedtls/net.h>
<mbedtls/debug.h>
<mbedtls/entropy.h>
<mbedtls/ctr_drbg.h>
<mbedtls/error.h>
<mbedtls/certs.h>
<polarssl/net.h>
<polarssl/debug.h>
<polarssl/ssl.h>
<polarssl/entropy.h>
<polarssl/ctr_drbg.h>
<polarssl/error.h>
<polarssl/certs.h>

1564248782 source:d:\c\ngrok-c\main.cpp
"config.h"
<string.h>
<stdio.h>
<errno.h>
<iostream>
<iomanip>
<signal.h>
<windows.h>
"segment.h"
<sys/select.h>
<sys/types.h>
<sys/stat.h>
<unistd.h>
<sys/time.h>
<fcntl.h>
<netinet/in.h>
<netdb.h>
<arpa/inet.h>
<stdlib.h>
"cJSON.h"
"mytime.h"
"bytestool.h"
"ngrok.h"
"sslbio.h"
"nonblocking.h"
"udp.h"

1564149050 d:\c\ngrok-c\mytime.h
<windows.h>
<errno.h>
<sys/select.h>
<netinet/in.h>

1564149050 d:\c\ngrok-c\bytestool.h

1564149050 d:\c\ngrok-c\ngrok.h
"config.h"
<string>
<map>
"sendmsg.h"
"nonblocking.h"
"cJSON.h"

1564149050 d:\c\ngrok-c\sendmsg.h
"config.h"
"nonblocking.h"
<string>
<map>
"sslbio.h"
<windows.h>
<errno.h>
<netinet/in.h>
<string.h>
<sys/select.h>
"bytestool.h"

1564149050 d:\c\ngrok-c\nonblocking.h
"config.h"
<string.h>
<winsock.h>
<winsock2.h>
<windows.h>
<fcntl.h>
<netinet/in.h>
<netdb.h>
<sys/types.h>
<sys/socket.h>
<unistd.h>
<list>
"sslbio.h"
<netinet/in.h>
<netinet/tcp.h>

1564311462 source:d:\c\ngrok-c\ngrok.cpp
"config.h"
<string>
<windows.h>
<string>
<strings.h>
<unistd.h>
<arpa/inet.h>
<errno.h>
"bytestool.h"
"ngrok.h"
"sslbio.h"
<stdlib.h>

1564149050 source:d:\c\ngrok-c\nonblocking.cpp
"nonblocking.h"

1564228490 source:d:\c\ngrok-c\opensslbio.cpp
"config.h"
<string.h>
"mytime.h"
"opensslbio.h"

1564250665 source:d:\c\ngrok-c\openssldl.cpp
<stdio.h>
<stdlib.h>
<unistd.h>
"openssldl.h"
<windows.h>
<dlfcn.h>

1564149050 source:d:\c\ngrok-c\polarsslbio.cpp
"config.h"
<string.h>
"mytime.h"
"polarsslbio.h"

1572700008 source:d:\c\ngrok-c\sendmsg.cpp
"config.h"
<string>
<windows.h>
<arpa/inet.h>
<errno.h>
"sendmsg.h"
<stdlib.h>

1564149050 source:d:\c\ngrok-c\base64.c
"base64.h"
<stdio.h>
<stdlib.h>

1564149050 d:\c\ngrok-c\base64.h
<stdio.h>

1564149050 source:d:\c\ngrok-c\udp.cpp
"udp.h"
"ngrok.h"
"mytime.h"
<windows.h>
<arpa/inet.h>

1564149050 d:\c\ngrok-c\udp.h
<string>
<map>
<time.h>
<list>
<winsock.h>
"string.h"
"cJSON.h"
"sendmsg.h"
"base64.h"
"bytestool.h"

Loading

0 comments on commit 806b597

Please sign in to comment.