Compare commits

..

No commits in common. "4da0ff251c4220e1069b1d3387de3f7958f6946c" and "a52cc2d5d414d82ae31f9fa9e5c6f354aac8e03a" have entirely different histories.

3 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,7 @@
%define CommitVersion %(echo $COMMIT_VERSION)
Name: libserverframe
Version: 1.2.10
Version: 1.2.9
Release: 1%{?dist}
Summary: network framework library
License: AGPL v3.0
@ -12,9 +12,9 @@ Source: http://github.com/happyfish100/libserverframe/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libfastcommon-devel >= 1.0.82
BuildRequires: libfastcommon-devel >= 1.0.81
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: libfastcommon >= 1.0.82
Requires: libfastcommon >= 1.0.81
%description
common framework library

View File

@ -47,7 +47,10 @@ SFGlobalVariables g_sf_global_vars = {
{0, 0}, NULL, {NULL, 0}
};
SFContext g_sf_context = {{'\0'}, NULL, 0, false, false, false,
SFContext g_sf_context = {{'\0'}, NULL, 0, false, false,
#if IOEVENT_USE_URING
false,
#endif
sf_address_family_auto, {{AF_UNSPEC, {{true, fc_comm_type_sock},
{false, fc_comm_type_rdma}}},
{AF_UNSPEC, {{true, fc_comm_type_sock}, {false, fc_comm_type_rdma}}}},

View File

@ -182,7 +182,9 @@ typedef struct sf_context {
bool is_client; //since v1.2.5
bool use_io_uring; //since v1.2.9
#if IOEVENT_USE_URING
bool use_send_zc; //since v1.2.9
#endif
SFAddressFamily address_family;
SFAddressFamilyHandler handlers[SF_ADDRESS_FAMILY_COUNT];