Skip to content

Commit

Permalink
improved spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
gustafn committed Oct 26, 2023
1 parent 95f86ad commit 93ce1fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/src/naviserver/ns_parsehostport.man
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

[para] This function interprets the provided string as host
and optional port as defined by the authority elements in RFC 3986.
The function supports IP-literal notation. The functionlity is
The function supports IP-literal notation. The functionality is
an subset of [cmd ns_parseurl].

[para] When [option "-strict"] is specified, the function performs a
Expand Down
2 changes: 1 addition & 1 deletion nsd/nsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ struct _NsHttpChunk;

typedef struct {
Ns_Task *task; /* Task handle */
Ns_Task *closeWaitTask; /* Task handle for handling persisten connections */
Ns_Task *closeWaitTask; /* Task handle for handling persistent connections */
NS_SOCKET sock; /* socket to the remote peer */
int status; /* HTTP response status */
const char *method; /* request method */
Expand Down
2 changes: 1 addition & 1 deletion nsd/nsmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ Ns_Main(int argc, char *const* argv, Ns_ServerInitProc *initProc)
* we need to re-init the notifier after the fork.
* Failing to do so will make Tcl_ThreadAlert (et.al.)
* unusable since the notifier subsystem may not be
* initialized. The problematic behavior may be exibited
* initialized. The problematic behavior may be exhibited
* for any loadable module that creates threads using the
* Tcl API but never calls directly into Tcl_CreateInterp
* that handles the notifier initialization indirectly.
Expand Down
4 changes: 2 additions & 2 deletions nsd/tclhttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5757,11 +5757,11 @@ PersistentConnectionLookup(NsHttpTask *httpPtr, NsHttpTask **waitingHttpPtrPtr)
Ns_TaskCancel(waitingHttpPtr->closeWaitTask);
waitingHttpPtr->closeWaitTask = NULL;
/*Ns_Log(Notice, "persistent key %s has already a waiting structure"
" with an assigend task (forced cancel)", httpPtr->persistentKey);*/
" with an assigned task (forced cancel)", httpPtr->persistentKey);*/
} else {
/* TODO: should be removed before the release */
Ns_Log(Notice, "========================= persistent key %s has a waiting structure"
" without an assigend task", httpPtr->persistentKey);
" without an assigned task", httpPtr->persistentKey);
}
/*
* Delete the entry which is to be reused. This prevents concurrent
Expand Down

0 comments on commit 93ce1fb

Please sign in to comment.