[Twisted-Python] regarding ticket #2328

2012-01-19 Thread moses dsouza
Hi Can anyone provide any ideas how to get started on this one ? Is this still open ? regards moijes12 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Finding out the IP which it failed to connect

2012-01-19 Thread Facundo Batista
I have some code that uses a twisted.web.client.HTTPClientFactory. I've found that because some issues (firewall rules, not relevant to the problem), I experienced failures to connect. More specifically, I told it to connect to one particular address, and because of DNS load distribution, that ad

[Twisted-Python] for reference - how to get ssl certificate from a xmlrpc function

2012-01-19 Thread Hanusz L .
I had some difficulty to find how to get the ssl certificate from the xmlrpc function but I found how to do it : You can get the protocol from the xmlrpc function with @withRequest http://twistedmatrix.com/documents/11.1.0/api/twisted.web.xmlrpc.withRequest.html Then you can use getPeerCertificate

[Twisted-Python] xmlrpc function return message to client asynchronously

2012-01-19 Thread Hanusz L .
I'd like to create a xmlrpc function get_message with the following characteristic : - If the server doesn't have any message to send the client, the server will answer with a timeout after 60s (and the client can retry) - If the server has a message to send to the client, the answer is sent

Re: [Twisted-Python] xmlrpc function return message to client asynchronously

2012-01-19 Thread Tristan Seligmann
On Thu, Jan 19, 2012 at 6:41 PM, Hanusz L. wrote: > > I'd like to create a xmlrpc function get_message with the following > characteristic : >  - If the server doesn't have any message to send the client, the server will > answer with a timeout after 60s (and the client can retry) >  - If the se

Re: [Twisted-Python] regarding ticket #2328

2012-01-19 Thread Glyph
On Jan 19, 2012, at 7:21 AM, moses dsouza wrote: > Hi > > Can anyone provide any ideas how to get started on this one ? Talking to Ralph Meijer (are you listening, Ralph?) would be a good place to get started. Also, http://twistedmatrix.com/trac/ticket/2320 ("s2s") is (if I understand corre

Re: [Twisted-Python] regarding ticket #2328

2012-01-19 Thread Yaroslav Fedevych
I, for one, second the question. What I'm currently missing is even the basic information on what, more exactly, Twisted Words is and what it is not. Recently, I heard some potential customer talking about a universal messaging gateway (multiple protocols (including email), throttling, in some

[Twisted-Python] questions about testing xmlrpc server with ssl - problems with more than 1000 requests

2012-01-19 Thread Hanusz L .
I did some testing between a twisted xmlrpc ssl server and a twisted client with lots of simultaneous requests. I'm using windows (don't have the choice...), python 2.7, twisted 11.1 and both server and client are on the same computer... (Xeon 2Ghz 3GB of RAM) The client is configured to get a n

Re: [Twisted-Python] regarding ticket #2328

2012-01-19 Thread Glyph
On Jan 19, 2012, at 1:07 PM, Yaroslav Fedevych wrote: > I, for one, second the question. > > What I'm currently missing is even the basic information on what, more > exactly, Twisted Words is and what it is not. Recently, I heard some > potential customer talking about a universal messaging ga