Skip to content

Commit

Permalink
Fix build version
Browse files Browse the repository at this point in the history
Improve documentation
  • Loading branch information
sonertari committed May 21, 2020
1 parent 3fe0e5f commit 826b612
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions Mk/buildinfo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ TR?= tr
WC?= wc

GITDIR:= $(wildcard $(PROJECT_ROOT).git)
ifdef VERSION
VERSION_FILE:= $(wildcard $(PROJECT_ROOT)VERSION)
endif
ifdef HASHES
HASHES_FILE:= $(wildcard $(PROJECT_ROOT)HASHES)
endif
NEWS_FILE:= $(firstword $(wildcard $(PROJECT_ROOT)NEWS*))

ifdef GITDIR
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- Switch from thrmgr to connection handling thread asap. Cleanly decouple
code for thrmgr and conn handling threads. This prevents possible
multithreading issues between thrmgr and conn handling threads. So remove
thr mutex and BEV_OPT_THREADSAFE.
thr mutex and BEV_OPT_THREADSAFE. The proxy core runs lockless now.
- Offload thrmgr. Carry almost all conn init tasks from thrmgr to conn
handling thread. Remove pending ssl conns list.
- Convert linked lists to doubly linked lists. It is very fast to remove a
Expand Down
4 changes: 2 additions & 2 deletions tests/testproxy/lp/pxythrmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ pxy_thrmgr_free(pxy_thrmgr_ctx_t *ctx)
/*
* Assign a new connection to a thread. Chooses the thread with the fewest
* currently active connections, returns the appropriate event bases.
* No need to be so accurate about balancing thread loads, so uses
* thread-level mutexes, instead of a thrmgr level mutex.
* No need to be so accurate about balancing thread loads,
* so does not use mutexes, thread or thrmgr level.
* Returns the index of the chosen thread (for passing to _detach later).
* This function cannot fail.
*/
Expand Down

0 comments on commit 826b612

Please sign in to comment.