History log of /f-stack/example/main.c (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v1.21.1, v1.21, v1.20, v1.13
# e2391e5e 08-Aug-2019 fengbojiang(姜凤波) <[email protected]>

helloword sever demo support IPv6.


# 030e1061 14-Mar-2019 fengbojiang(姜凤波) <[email protected]>

F-Stack's kni can work on DPDK 18.11 LTS now.


# e8591dc5 14-Mar-2019 fengbojiang(姜凤波) <[email protected]>

F-Stack's kni can work on DPDK 18.11 LTS now.


# 81a671f5 11-Feb-2019 vanlink <[email protected]>

remove unnecessary one byte from html page


# ec61049c 11-Feb-2019 vanlink <[email protected]>

remove unnecessary one byte from html page


Revision tags: v1.12
# b2dbf8fd 21-Dec-2017 logwang <[email protected]>

Example: fix listen queue overflow.

According to the FreeBSD Manual Page:
- When kevent() returns and if `flags` is EVFILT_READ, sockets which have previously been passed to listen() return when the

Example: fix listen queue overflow.

According to the FreeBSD Manual Page:
- When kevent() returns and if `flags` is EVFILT_READ, sockets which have previously been passed to listen() return when there is an incoming connection pending. `data` contains the size of the listen backlog.

So if an EVFILT_READ event reaches and it is the listen socket, we must accept `event->data` times. And for `ff_epoll` interface, we should continue to accept until it fails.

In the previous version, we only accept once when event reaches, it will cause listen queue overflow.

show more ...


# b9e91cfd 21-Dec-2017 logwang <[email protected]>

Example: fix listen queue overflow.

According to the FreeBSD Manual Page:
- When kevent() returns and if `flags` is EVFILT_READ, sockets which have previously been passed to listen() return when the

Example: fix listen queue overflow.

According to the FreeBSD Manual Page:
- When kevent() returns and if `flags` is EVFILT_READ, sockets which have previously been passed to listen() return when there is an incoming connection pending. `data` contains the size of the listen backlog.

So if an EVFILT_READ event reaches and it is the listen socket, we must accept `event->data` times. And for `ff_epoll` interface, we should continue to accept until it fails.

In the previous version, we only accept once when event reaches, it will cause listen queue overflow.

show more ...


Revision tags: v1.11
# c7fe2352 21-Nov-2017 logwang <[email protected]>

Example: keep run when accept failed.


# 02610d58 21-Nov-2017 logwang <[email protected]>

Example: keep run when accept failed.


# 1a527102 14-Sep-2017 logwang <[email protected]>

Example: exit when ff_api failed


# 615f2d3c 08-Aug-2017 logwang <[email protected]>

Fix `ff_fdused_range` not work.


# a02c88d6 08-Aug-2017 logwang <[email protected]>

Simplify startup arguments and add ff_fdisused.

Changes:
1.Simplify f-stack startup arguments:"--conf, --proc-type, --proc-id".
2.add a function `ff_fdisused` to check if fd is used in f-stack.


# 2dfcd880 10-May-2017 whl739 <[email protected]>

example: remove printf.


# a9643ea8 21-Apr-2017 logwang <[email protected]>

init