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

[tor-bugs] #29186 [Core Tor/Stem]: stem remote.py defaults to plain text instead of GZIP



#29186: stem remote.py defaults to plain text instead of GZIP
-------------------------+-------------------------------
 Reporter:  starlight    |          Owner:  atagar
     Type:  enhancement  |         Status:  new
 Priority:  Medium       |      Component:  Core Tor/Stem
  Version:               |       Severity:  Normal
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+-------------------------------
 remote.py defaults no compression

 {{{
 387:    elif compression is None:
 388:      compression = [Compression.PLAINTEXT]

 399:      if not compression:
 400:        compression = [Compression.PLAINTEXT]
 }}}

 instead the best available compression algorithms should be discovered and
 attempted

 GZIP will almost always be available and is far better than PLAINTEXT

 a warning should be written to stderr when compression fall backs

 1) default case falls  back to PLAINTEXT
 2) requested ZSTD or LZMA falls back to GZIP or PLAINTEXT

 download_descriptor.py should support a command parameter to choose
 compression type

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29186>
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