[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #22865 [Obfuscation/meek]: Explicitly set Content-Length to zero when there is no data to send



#22865: Explicitly set Content-Length to zero when there is no data to send
------------------------------+------------------------------
 Reporter:  twim              |          Owner:  dcf
     Type:  defect            |         Status:  needs_review
 Priority:  Medium            |      Milestone:
Component:  Obfuscation/meek  |        Version:
 Severity:  Normal            |     Resolution:
 Keywords:                    |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------

Comment (by dcf):

 Replying to [comment:3 twim]:
 > Unfortunately I can't give you an example right now because it looks
 like something that should not happen. Maybe it's even a bug.

 Do you mean a bug in the fronting service, or a bug somewhere else in
 meek-client?

 I would guess, that with a POST, the http client would omit `Content-
 Length`, and send `Transfer-Encoding: chunked`, then send a zero-length
 chunk if there were nothing to send. But I haven't checked.

 I'm still planning to merge your patch, because it looks like the right
 thing to do.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22865#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs