all: fix typos (#869)

Grammar issues in docs, comments, and error messages.
This commit is contained in:
Oleksandr Redko 2026-03-30 19:43:01 +03:00 • committed by GitHub
commit b71a8391a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,7 +97,7 @@ func (i *sessionInfo) startPOST() {
i.refs++
}
// endPOST sigals that a request for this session is ending, starting the
// endPOST signals that a request for this session is ending, starting the
// timeout if there are no other requests running.
func (i *sessionInfo) endPOST() {
if i.timeout <= 0 {
@ -1203,7 +1203,7 @@ func (c *streamableServerConn) servePOST(w http.ResponseWriter, req *http.Reques
//
// Create a logical stream to track its responses.
// Important: don't publish the incoming messages until the stream is
// registered, as the server may attempt to respond to imcoming messages as
// registered, as the server may attempt to respond to incoming messages as
// soon as they're published.
stream, err := c.newStream(req.Context(), calls, crand.Text())
if err != nil {