Function: socks-username/password-auth-filter
socks-username/password-auth-filter is a byte-compiled function
defined in socks.el.gz.
Signature
(socks-username/password-auth-filter PROC STR)
Source Code
;; Defined in /usr/src/emacs/lisp/net/socks.el.gz
(defun socks-username/password-auth-filter (proc str)
(or (process-get proc 'socks)
(error "socks-filter called on non-SOCKS connection %S" proc))
(cl-callf (lambda (s) (concat s str))
(process-get proc 'socks-scratch))
(if (< (length (process-get proc 'socks-scratch)) 2)
nil
(process-put proc 'socks-password-auth-status
(aref (process-get proc 'socks-scratch) 1))
(process-put proc 'socks-state socks-state-authenticated)))