[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6666 [Stem]: Stem wrapper method for the EXTENDCIRCUIT control command
#6666: Stem wrapper method for the EXTENDCIRCUIT control command
--------------------+-------------------------------------------------------
Reporter: neena | Owner: neena
Type: task | Status: needs_information
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
Changes (by atagar):
* status: needs_review => needs_information
Comment:
Pushed with some minor tweaks...
https://gitweb.torproject.org/stem.git/commitdiff/74ba2e9
However, as mentioned in the commit description there's a couple things
I'm uncertain about...
{{{
However, there's still a couple mysteries...
* When I was offline I got the following stacktrace...
======================================================================
ERROR: test_extendcircuit
----------------------------------------------------------------------
Traceback:
File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line
373, in test_extendcircuit
circ_id = controller.extend_circuit(0)
File "/home/atagar/Desktop/stem/stem/control.py", line 1109, in
extend_circuit
raise stem.socket.ProtocolError("EXTENDCIRCUIT returned unexpected
response code: %s" % response.code)
ProtocolError: EXTENDCIRCUIT returned unexpected response code: 512
----------------------------------------------------------------------
However, according to the control-spec the 512 response code is for
"Syntax
error in command argument". That doesn't make sense if we're failing
because
we lack a connection.
* Is the 'path' argument for EXTENDCIRCUIT the circuits that we build
through,
or the relays to be chosen from when building a single hop? The
EXTENDCIRCUIT
description doesn't say, which seems to me to be a weakness in the spec.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6666#comment:2>
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