Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: nnslashdot groups hang emacs!
Date: 10 Dec 1999 02:00:03 -0500	[thread overview]
Message-ID: <2naenjb7rg.fsf@tiger.jia.vnet> (raw)
In-Reply-To: wmperry@aventail.com's message of "Thu, 9 Dec 1999 16:22:37 -0800"

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

>>>>> "BP" == William M Perry <wmperry@aventail.com> writes:

BP> dave-mlist@bfnet.com writes:
>> >> Is there any way to break out of it without killing emacs?
>> 
BP> Well, it is usually in a spin of (while ... (accept-process-output process
BP> 1)), and if that is not interruptible, it is a bug in emacs.  This should
BP> be less of a problem since everything in the new package is asynch by
BP> default and doesn't do silly things like those asynch loops.
>> 
>> What do you mean by "everything in the new package?"
>> What new package?

BP> cvs -d :pserver:anoncvs@anoncvs.gnu.org:/gd/gnu/anoncvsroot/ checkout url

Could you please apply this patch?

Because HotMail only accepts one line cookie, and Netscape, perl LWP
send out one line cookie by default.

-- 
Shenghuo

1999-12-10 01:57:01  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
 	if nil.
	(url-cookie-generate-header-lines): Use it.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: one-line-cookie.diff --]
[-- Type: text/x-patch, Size: 1045 bytes --]

Index: url-cookie.el
===================================================================
RCS file: /gd/gnu/anoncvsroot/url/lisp/url-cookie.el,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 url-cookie.el
--- url-cookie.el	1999/11/26 12:11:47	1.1.1.1
+++ url-cookie.el	1999/12/10 06:53:05
@@ -255,6 +255,10 @@
 		(setq retval (cons cur retval))))))
     retval))
 
+(defvar url-cookie-multiple-line t
+  "If nil, use one line cookie.
+Some web servers, such as hotmail, only accept one line cookie.")
+
 ;;;###autolaod
 (defun url-cookie-generate-header-lines (host path secure)
   (let* ((cookies (url-cookie-retrieve host path secure))
@@ -272,7 +276,8 @@
       (setq cur (car cookies)
 	    cookies (cdr cookies)
 	    chunk (format "%s=%s" (url-cookie-name cur) (url-cookie-value cur))
-	    retval (if (< 80 (+ (length retval) (length chunk) 4))
+	    retval (if (and url-cookie-multiple-line
+			(< 80 (+ (length retval) (length chunk) 4)))
 		       (concat retval "\r\nCookie: " chunk)
 		     (if retval
 			 (concat retval "; " chunk)

  reply	other threads:[~1999-12-10  7:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-09 22:30 dave-mlist
1999-12-09 22:47 ` Shenghuo ZHU
1999-12-09 23:07   ` dave-mlist
1999-12-10  0:14     ` William M. Perry
1999-12-09 21:18       ` dave-mlist
1999-12-10  0:22         ` William M. Perry
1999-12-10  7:00           ` Shenghuo ZHU [this message]
1999-12-10 16:06             ` William M. Perry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2naenjb7rg.fsf@tiger.jia.vnet \
    --to=zsh@cs.rochester.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).