7-win32.egg\twisted\protocols\tls.py:554:_write
...\site-packages\pyopenssl-0.15.1-py2.7.egg\OpenSSL\SSL.py:1271:send
...\lib\site-packages\pyopenssl-0.15.1-py2.7.egg\OpenSSL\SSL.py:1187:_raise_ssl_error
...\site-packages\pyopenssl-0.15.1-py2.7.egg\OpenSSL\_util.py:48:excep
n the persistent connections feature of HTTP1.1
(due to TLS setup costs for new connections and burning through too many
client sockets when many calls are made).
Michael
--
Michael Schlenker
Senior Software Engineer
CONTACT Software GmbH Tel.: +49 (421) 20153-80
Wiener Straß
se more or
less). So we either just terminate the connection forcefully (reset) or
read the full request and send it to /dev/null.
Michael
--
Michael Schlenker
Senior Software Engineer
CONTACT Software GmbH Tel.: +49 (421) 20153-80
Wiener Straße 1-3 Fax:+49
t, 'twisted.internet import reactor' does just that, it loads its
own copy of 'ssleay32.dll', and as your ctypes call does not specifiy an
absolute path or sets up any activation context, you get the already
loaded DLL.
Michael
--
Michael Schlenker
Software Architect
CONTAC
ding not so
much.
But client side support for 100-continue is spotty, at least the python
stdlib httplib client mishandles 100-continue requests in an attempt to
work around Microsoft IIS strangeness.
Michael
--
Michael Schlenker
Software Architect
CONTACT Software GmbH
spec, it's not absolutely necessary to wait for the
server to return the close handshake.
That being said, that seems lousy - and it really seems like something else
must be going on.
On Thu, Mar 28, 2013 at 4:36 PM, Glyph wrote:
>
> On Mar 28, 2013, at 9:24 AM, Michael Williamson <
Hi, I'm having an issue where a tls connection never seems to shutdown
properly, and as a result, all the associated cleanup never happens.
Basically we're trying to implement a jabber client and allow the user to
sign out and then re-sign back in without completely quitting the program.
When the
Am 11.02.2013 15:51, schrieb Itamar Turner-Trauring:
>
>
> On Mon, Feb 11, 2013 at 9:24 AM, Michael Schlenker <mailto:m...@contact.de>> wrote:
>
> Is there some pre-made solution, or would i have to hook into the
> connection setup of twisted.web and check
would i have to hook into the
connection setup of twisted.web and check the first few bytes for the
signs of an SSL Handshake signature?
Michael
--
Michael Schlenker
Software Architect
CONTACT Software GmbH Tel.: +49 (421) 20153-80
Wiener Straße 1-3 Fax:+49 (421) 20153
only fixed 95% of the way if one needs to
access getHandle() of the underlying TCPTransport.
Are there any easy workarounds to get the socket handle anyway?
Michael
Am 12.12.2012 14:22, schrieb Michael Schlenker:
> Hi,
>
> i use twisted for some volume streaming over fat pipes (10 GE)
#x27;)
ctx = DefaultOpenSSLContextFactory(keyfile, certfile)
site = server.Site(resource.NoResource())
site.protocol = HTTPChannel
reactor.listenSSL(port, site, ctx)
reactor.run()
Michael
--
Michael Schlenker
Software Architect
CONTACT Software GmbH Tel.: +49 (421)
Am 24.10.2012 14:14, schrieb Phil Mayers:
> n 24/10/12 12:33, Michael Schlenker wrote:
>> Am 24.10.2012 11:01, schrieb Phil Mayers:
>>> On 10/24/2012 08:43 AM, John Aherne wrote:
>>
>> But what you are talking about is the SetConsoleCtrlHandler function.
>> http
ice and need to ignore it. The service
itself should deal with this already.
Michael
--
Michael Schlenker
Software Architect
CONTACT Software GmbH Tel.: +49 (421) 20153-80
Wiener Straße 1-3 Fax:+49 (421) 20153-41
28359 Bremen
http://www.contact.de/ E-Mail: m
, see
http://twistedmatrix.com/trac/wiki/TwistedWebClient)
"""
def __init__(self, code, reason):
self.code = code
self.reason = reason
def write(self, data):
pass
def read(self):
return ''
def seek(self, offset, wh
icrosoft Visual C++ 2008.
>
> - VS 2010 will NOT work
> - the free VS 2008 Express works (for 32-bit builds .. it does not include a
> 64-bit compiler)
But you can add the cmdline 64-bit compiler by downloading the free
Windows SDK.
Michael
--
Michael Schlenker
Software
We are very happy to announce the release of version 0.75 of MV3D! This was
mainly a bug-fixing release with more than 65 bugs squashed. Also, in this
release, MV3D gained support for Linux with the Ogre3D renderer along with Mac
OS X with the Panda3D renderer. This means that MV3D's client, ser
I am pleased to announce the release version 0.70 of MV3D! This release
includes a massive amount of new features and over 70 bugfixes. The main focus
was on usability and involved a large amount of work on tools. In 0.70, Panda3D
support was brought up to par with animation, terrain texture spl
On 6 January 2012 08:54, nivedita datta wrote:
> A simple query,.. Is it possible to implement protocols & protocol
> stack using twisted??
>
>
yes, http://twistedmatrix.com/documents/current/core/howto/servers.html
___
Twisted-Python mailing list
Twist
On 10/26/2011 11:29 AM, Phil Mayers wrote:
> Obviously it's tricky to force Google to put "current" at the top! But
> could we maybe have a little dropdown in the top-right that
> shows the version, and lets you pick a new one and have the page reload?
Other possibilities:
- Add a big yellow "th
On 23 August 2011 04:52, wrote:
> action and add the results to a list. No matter how I place the methods or
> how I call them when
> evaluating the user or the security code, I always get a Deferred object and
> I need the actual result
> so that the method continue to be executed or not, eva
I am pleased to announce the release of MV3D version 0.60! This release focused
on scalability of worlds and includes support for splitting a single area
across multiple server processes with automatic load balancing and redundancy.
Areas can now be connected together using gateways to build wor
On Jul 2, 2011 10:28 p.m., "Glyph Lefkowitz"
wrote:
>
>
> On Jul 2, 2011, at 1:07 PM, Michael Thompson wrote:
>
>> On 1 July 2011 18:38, Glyph Lefkowitz wrote:
>
>
>> I think github means less effort for the reviewer because they can
>> review comm
reduced to a single
click for a core developer to merge the change to trunk.
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
the
timing info to something fast, like Redis.
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
rds, Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On 19 March 2011 08:29, Glyph Lefkowitz wrote:
> On Mar 18, 2011, at 9:35 PM, exar...@twistedmatrix.com wrote:
>
> A multi-process WSGI container might actually be of practical use, since
> it may make more cores available to your server. If an application is
> bottlenecked on CPU rather than som
n the past
:P The offer is flexible, I'm just trying to start small to feel out
the requirements.
--
Michael Tharp
rPath, Inc.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
aps the default reactor should be the best available rather than
the lowest common denominator.
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- Forwarded message --
From: Michael Thompson
Date: 9 March 2011 07:02
Subject: Re: [Twisted-Python] Slow data transfer with Twisted + socat + Windows
To: Jason Heeris
On 9 March 2011 01:47, Jason Heeris wrote:
> On 9 March 2011 03:49, Michael Thompson wrote:
>>
TCP behaviour under Windows? Or Cygwin
> utilities? Have I made some glaringly obvious mistake in my script
> there?
Does you program just write via TCP to this serial device, it doesn't
do anything else that could block?
Have you tried running this under different reactors?
R
g the tests in a different order, there's a switch
to get trial to do that for you, and you can try to isolate which
earlier tests make the tests fail and then examine them.
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
On 21 February 2011 14:06, Jason Heeris wrote:
> On 21 February 2011 21:30, wrote:
>> Not intentionally:
>>
>> http://twistedmatrix.com/trac/ticket/3690
>
> Interesting...
>
> As an aside, the problem of serial port availability for unit tests is
> something I've encountered before too. I solve
On 21 February 2011 07:00, Jason Heeris wrote:
> On 21 February 2011 14:50, Michael Thompson wrote:
>> This might be better expressed as how do you write a protocol to
>> handle errors when using an unreliable transport. It down to your
>> protocol as to how you need to
ors by for instance sending a
NACK or re-transmitting a request.
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
I’m pleased to announce the v0.50 release of MV3D! With this new release, we
are considering MV3D to be beta, which means future releases should not break
backwards compatibility with existing data or API calls. The framework gains
several major features this release such as a path-finding syste
environment variable that can be set for each build slave?
Do any of the build slaves have serial ports or are they all VMs?
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted
On 2 February 2011 10:11, Jason Heeris wrote:
> On 2 February 2011 17:53, Albert Brandl wrote:
>> "string" could be interpreted as "complete message". It might e.g. happen
>> that a message arrives in three chunks. Each time a chunk is read, the
>> dataReceived method is called. When it detects t
tion is that, in that other bunch of
> code, I need to be able to write things to the socket. How can I access the
> instance of my protocol subclass that is used by the factory, so I can make
> protocolInstance.transport.write type calls? Or am I thinking about this is
> a completely wron
There are some protocol that might be suitable in twisted/protocols/basic.py
>
> I'd also like to structure things so that successive calls to the
> DeviceProtocol object queue up, something like:
You can use a DeferredSemaphore for this.
Michael
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On 21 January 2011 22:35, Glyph Lefkowitz wrote:
> I don't believe we have a mirror on
> github, but maybe somebody could correct me.
There are 79 repos on github that match the word twisted.
This one claims to be updated every 15 minutes and seems to be pretty
up to date (has a commit from 13
, a small delay (up to 2-3
> seconds) is not critical.
Not too clear what you problem is but you could use some form of
messaging from the server to the clients to inform them that a new
message is available on the database, rather than them polling. Thrift
or AMQP
le.
ipython has a task interface with supports starting asynchronous jobs,
a quick search turns up
http://mail.scipy.org/pipermail/ipython-user/2009-February/006148.html
Regards, Michael
___
Twisted-Python mailing list
Twisted-Python@twis
I’m pleased to announce the release of MV3D version 0.44! This version features
a functioning content creation and world building tool-set. It is now possible
to populate a game world from scratch without using the command line or writing
code. Additionally, Ogre3D was upgraded to the latest ver
On 9 June 2010 23:25, Glyph Lefkowitz wrote:
> I think we should give screwtape an SVN account and make him an official
> reviewer. He's been doing a lot of work on the distutils code which would be
> made easier by that, and he's been doing pretty decent reviews.
>
> Thoughts? (Feel free to v
I’m pleased to announce the release of MV3D version 0.42. In this version, the
core systems were made ready for tool building and content creation. This
included a redesigned datastore and a cross system GUI layout.
MV3D is an open source virtual world simulation framework written in Python
whi
On 06/16/2010 12:50 PM, Jean Daniel wrote:
> Hello,
>
> Reading the SMTP client tutorial[1], I do not see the impact of the
> factory having a protocol defined as a class attribute. Especially
> when here is a big fat warning [2] that I should actually understand
> the inplications. My guess is tha
I'm using the multiprocessing module right now.
Mike
--
Michael P. Soulier
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
signature.asc
D
d you recommend handling a SIGCHLD in twisted?
Many thanks,
Mike
--
Michael P. Soulier
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
signature.asc
Description: Di
l try that, thanks.
Mike
--
Michael P. Soulier
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
pgp9VsDTVIEMN.pgp
Description: PGP signature
___
Hi,
I noticed that when using twisted.internet.http and returning a Content-type
of application/json, the server responds with chunked transfer encoding.
I'm debugging a client problem and I'd like to turn chunked transfer encoding
off. Is this possible?
Thanks,
Mike
--
Michael
On 05/03/2010 09:46 AM, Gabriel Rossetti wrote:
> f.trap(MyException) raises MyException and f.value == MyException
> evaluates to True as expected, so why isn't it being trapped?
f.value should be an instance of MyException, not the class itself.
Perhaps you are doing something like Failure(MyEx
On 13 April 2010 03:39, Jason J. W. Williams wrote:
> Haven't had any issues yet. Twisted imports occur inside the process
> function. The app was originally written as a purely blocking
> multiprocessing app and rewritten to use Twisted inside the
> sub-processes. It's passed all automated and ha
On 4 March 2010 17:46, Bo Shi wrote:
> Hi All,
>
> I've been struggling with this issue off and on for the better part of
> a month now. Having implemented a simple git SSH server using some of
> the Conch examples in the official documentation, I encountered an
> issue that would cause a git cli
On 5 March 2010 12:31, Kevin Horn wrote:
> On Thu, Mar 4, 2010 at 5:05 PM, wrote:
>>
>> On 10:49 pm, kevin.h...@gmail.com wrote:
>> >
>> > If you look up a class, like "twisted.internet.defer.Deferred" for
>> >example,
>> > the link looks like this:
>> >
>> >
>>
>> > >http://twistedmatrix.com/d
On 17 February 2010 10:56, gary clark wrote:
>
> Much appreciated the response. setTcpKeepAlive(1) is good for calling
> connectionLst, however I have to send a packet out to trigger this event.
> Its too bad, just had to send periodically a small stay-alive packet.
That's just a fact of life wit
Callback(cb) is equivalent to d.addCallbacks(cb, passthru)
>
> d.addErrback(eb) is equivalent to d.addCallbacks(passthru, eb)
I think I understand now. I don't think it's adequately explained here
http://twistedmatrix.com/documents/current/core/howto/defer.html
but the diagram makes more se
not be called at all, since deferred processing will look
for the second callback at that point by the diagram.
So, right now I'm calling my own callback from the errback if I want to
swallow the error. Is there a better way?
Thanks,
Mike
--
Michael P. Soulier
"Any intelligent fool c
2010/1/5 Kevin Horn :
> Sphinx uses plain ReST tables, and from what I can tell, ReST has 4 (yes,
> 4!) ways of marking up tables:
>
> Grid tables
> http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#grid-tables
> - ASCII-art style tables
I tend to use these, because they're what e
> The biggest advantage of Twisted is a shorter development time, and the
> availability of Python libraries. But I wonder if running something of the
> scale of Facebook chat would be feasible at all, or if there are people on
> this list that have run many parallelized twisted servers that satur
2009/8/3 tarjei :
> A lot has been said in this discussion but I'll add one thing.
> On 07/31/2009 06:32 PM, Reza Lotun wrote:
>>> Even if I re-suggested the wiki based documentation, I think it's
>>> important to be extra careful on how it's used. One thing I personally
>>> hate is projects whose
2009/7/31 ezyang :
> Excerpts from Jamu Kakar's message of Thu Jul 30 15:03:16 -0400 2009:
>> Jono Lange gave a presentation recently (can't remember what it was
>> called... maybe something about being an evil hacker or about how
>> your code sucks and he hates you) where he presented step-by-step
- "Glyph Lefkowitz" wrote:
> For what it's worth, two people thus far (Jim Fulton and David Sturgis) have
> told me that it
> would be a lot easier to make this if it extended over a weekend, as it would
> be easier to
> attend without taking time off of work. I suspect there may be othe
2009/7/8 Jonathan Lange :
> Hello all,
>
> I've recently returned from EuroPython where I got a chance to work
> with Thomas Hervé on Twisted. In the giddy rush of success I thought,
> "Wouldn't it be great if we could get a whole week to do this?".
>
> I propose that:
> - we arrange a week long s
cutable
> string, getting rid of "/usr/bin" in the executable, changing the path to
> the executing user's home directory and so on. Any ideas?
sudo can cache your password for a period of time, so you won't have
to enter it every time you run a sudo command.
Michael
end a single packet this works but if I send
multiple requests they all end up in the same tcp packet which the existing
server doesn't like. How can I ensure that only a single command\string is
sent per tcp packet?
I tried TCP No Delay but that didn't seem to help
R
2009/5/29 Michael Thompson
> 2009/5/28
>
>>
>> On 01:23 am, asb.b...@gmail.com wrote:
>>
>>> I have just started to look at the Twisted framework and would like to
>>> put it
>>> to use for a new project I am working on. Not being very fa
questQueue?
class ProxyClient(LineReceiver):
def connectionMade(self):
self.requestQueue = []
def forwardLine(self, line):
self.sendLine(line)
d = Deferred()
self.requestQueue.append(d)
return d
def lineReceived(self, line):
self.requestQueue
2009/5/27 s s :
>> I wrote up some thoughts on this here:
>> http://clemesha.org/blog/2009/apr/23/Django-on-Twisted-using-latest-twisted-web-wsgi/
>>
>> basically it comes down to running Django off the very latest WSGI
>> code (in the trunk still)
>> found in twisted.web, which I've found to work
2009/5/25 Christopher Armstrong :
> On Mon, May 25, 2009 at 10:04 AM, Esteve Fernandez
> wrote:
>> Hi all,
>>
>> I know quite a few Twisted developers love Ubuntu, so... is any of you here
>> in
>> Barcelona for the Ubuntu Developer Summit for Karmic Koala? I'll be attending
>> some sprints, prim
2009/5/24 Muaaz Hussain :
> Dear all,
> I ran penetration testing tool against my twisted web server , the
> tool used to make a huge number of threads, all that threads make a
> connection to the twisted concurrently.
> when I made the number of threads more than 1024 the twisted web
> server even
On 02/04/09 Cary Hull said:
> # Web clients
>
> # Web applications using just Twisted
>
> # Web applications using WSGI (Maybe show how to run Django)
# Web proxies, with and without authentication, with and without SSL
Mike
--
Michael P. Soulier
"Any intelligent
2009/2/24 Itamar Shtull-Trauring :
> As part of the TSF's fundraising efforts, we are trying to get upfront
> donations of time you will spend developing Twisted. It will then get
> matched by a donor, if we are successful in getting this grant. So if
> you're planning on working on Twisted anyway
On Tue, Jan 27, 2009 at 5:40 PM, Jean-Paul Calderone wrote:
> On Tue, 27 Jan 2009 19:08:15 -, gl...@divmod.com wrote:
>
>>
>> On 05:12 pm, ceron...@gmail.com wrote:
>>
>>> This year I'm going to start my graduation project for software
>>> engineering and I want to use Python and Twisted. I wa
-- JBoss Messaging: Suffers same issues as Apache's ActiveMQ; Requires
costly licensing
-- IBM Websphere MQ: Suffers same issues as Apache's ActiveMQ; Requires
costly licensing
-- XML-RPC Library for C & C++ -- http://xmlrpc-c.sourceforge.net/
Anyone
-- JBoss Messaging: Suffers same issues as Apache's ActiveMQ; Requires
costly licensing
-- IBM Websphere MQ: Suffers same issues as Apache's ActiveMQ; Requires
costly licensing
-- XML-RPC Library for C & C++ -- http://xmlrpc-c.sourceforge.net/
Anyone
n OS level threads (since
it makes reference near the end to Erlang's threading model).
Either why, hopefully interesting :)
Regards,
Michael
--
http://yeoldeclue.com/blog
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http:/
76 matches
Mail list logo