Skip to content

Commit

Permalink
hotplace rev.613 grooming
Browse files Browse the repository at this point in the history
  • Loading branch information
princeb612 committed Sep 24, 2024
1 parent 92985fc commit da229bf
Show file tree
Hide file tree
Showing 16 changed files with 329 additions and 519 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# history

* Revision 613
* [added] test/netclient

* Revision 612
* [changed] get_lasterror

Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
* RFC 6750 The OAuth 2.0 Authorization Framework: Bearer Token Usage
* RFC 7616 HTTP Digest Access Authentication
* sdk/net/http/
* test/httpserver/
* test/httpserver1/
* test/httpauth/
* test/httptest/
* HTTP/2
* RFC 7541 HPACK: Header Compression for HTTP/2
* sdk/net/http/http2
* test/hpack
* test/httpserver2
* sdk/net/http/http2/
* test/hpack/
* test/httpserver2/
* RFC 7540 Hypertext Transfer Protocol Version 2 (HTTP/2)
* RFC 7301 Transport Layer Security (TLS) Application-Layer Protocol Negotiation Extension
* RFC 9113 HTTP/2
Expand All @@ -84,14 +84,13 @@
* test/httpserver2/
* BASE16, BASE64, BASE64URL
* RFC 4648 The Base16, Base32, and Base64 Data Encodings
* sdk/io/basic/
* sdk/base/basic/
* test/encode/
* HOTP, TOTP
* RFC 4226 HOTP: An HMAC-Based One-Time Password Algorithm
* RFC 6238 TOTP: Time-Based One-Time Password Algorithm
* sdk/crypto/basic/
* test/hash/
* test/sign/
* Pattern Search
* KMP algorithm
* Trie
Expand Down
16 changes: 8 additions & 8 deletions sdk/base/nostd/graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,21 +687,21 @@ class t_graph {
* gdb) p route
* $3 = std::multimap with 8 elements = {
* [{_from = {_data = 0}, _to = {_data = 1}, _weight = 4,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1},
* [{_from = {_data = 0}, _to = {_data = 2}, _weight = 12,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1, [2] = 2},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1, [2] = 2},
* [{_from = {_data = 0}, _to = {_data = 3}, _weight = 19,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1, [2] = 2, [3] = 3},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1, [2] = 2, [3] = 3},
* [{_from = {_data = 0}, _to = {_data = 4}, _weight = 21,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7, [2] = 6, [3] = 5, [4] = 4},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7, [2] = 6, [3] = 5, [4] = 4},
* [{_from = {_data = 0}, _to = {_data = 5}, _weight = 11,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7, [2] = 6, [3] = 5},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7, [2] = 6, [3] = 5},
* [{_from = {_data = 0}, _to = {_data = 6}, _weight = 9,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7, [2] = 6},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7, [2] = 6},
* [{_from = {_data = 0}, _to = {_data = 7}, _weight = 8,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7},
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 7},
* [{_from = {_data = 0}, _to = {_data = 8}, _weight = 14,
* _direction = hotplace::graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1, [2] = 2, [3] = 8}}
* _direction = graph_directed}] = std::__cxx11::list = {[0] = 0, [1] = 1, [2] = 2, [3] = 8}}
*/
typedef std::multimap<edge, std::list<T>> route_t;

Expand Down
3 changes: 0 additions & 3 deletions sdk/io/system/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,6 @@ return_t wait_socket(socket_t sock, uint32 milliSeconds, uint32 flags) {
ret = errorcode_t::timeout;
} else if (0 > ret_select) {
ret = get_lasterror(ret_select, wsaerror);
if (0 == ret) {
printf("-----------------\n");
}
}

return ret;
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ add_subdirectory (httpserver2)
add_subdirectory (udpserver1)
add_subdirectory (udpserver2)
add_subdirectory (dtlsserver)
add_subdirectory (netclient)

# odbc
if (SUPPORT_ODBC)
Expand Down
16 changes: 0 additions & 16 deletions test/etc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,3 @@ maketest (${module_start} SOURCE_FILES_START PROJECT_SDK_MODULE_DEPENDENCIES PRO
set (module_varstring varstring)
file (GLOB SOURCE_FILES_VARSTRING var*.cpp)
maketest (${module_varstring} SOURCE_FILES_VARSTRING PROJECT_SDK_MODULE_DEPENDENCIES PROJECT_SDK_PLATFORM_DEPENDENCIES 0)

set (module_tcpclient tcpclient)
file (GLOB SOURCE_FILES_TCPCLIENT tcpclient.cpp)
maketest (${module_tcpclient} SOURCE_FILES_TCPCLIENT PROJECT_SDK_MODULE_DEPENDENCIES PROJECT_SDK_PLATFORM_DEPENDENCIES 0)

set (module_udpclient udpclient)
file (GLOB SOURCE_FILES_UDPCLIENT udpclient.cpp)
maketest (${module_udpclient} SOURCE_FILES_UDPCLIENT PROJECT_SDK_MODULE_DEPENDENCIES PROJECT_SDK_PLATFORM_DEPENDENCIES 0)

set (module_tlsclient tlsclient)
file (GLOB SOURCE_FILES_TLSCLIENT tlsclient.cpp)
maketest (${module_tlsclient} SOURCE_FILES_TLSCLIENT PROJECT_SDK_MODULE_DEPENDENCIES PROJECT_SDK_PLATFORM_DEPENDENCIES 0)

set (module_dtlsclient dtlsclient)
file (GLOB SOURCE_FILES_DTLSCLIENT dtlsclient.cpp)
maketest (${module_dtlsclient} SOURCE_FILES_DTLSCLIENT PROJECT_SDK_MODULE_DEPENDENCIES PROJECT_SDK_PLATFORM_DEPENDENCIES 0)
130 changes: 0 additions & 130 deletions test/etc/dtlsclient.cpp

This file was deleted.

106 changes: 0 additions & 106 deletions test/etc/tcpclient.cpp

This file was deleted.

Loading

0 comments on commit da229bf

Please sign in to comment.