return len;
if (!len) {
- /* Nothing to foward */
+ /* Nothing to forward */
ret = len;
}
else if (st->hdrs_len >= len) {
/*
* Append an "Age" header into <chn> channel for this <ce> cache entry.
- * This is the responsability of the caller to insure there is enough
+ * This is the responsibility of the caller to insure there is enough
* data in the channel.
*
* Returns the number of bytes inserted if succeeded, 0 if failed.
if (unlikely(si->state == SI_ST_DIS || si->state == SI_ST_CLO))
goto out;
- /* Check if the input buffer is avalaible. */
+ /* Check if the input buffer is available. */
if (res->buf.size == 0) {
/* buf.size==0 means we failed to get a buffer and were
* already subscribed to a wait list to get a buffer.