rask  Check-in [7078e40350]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:7078e40350d9b787d040191c1a1bddf9545171bc
Date: 2017-04-01 21:03:12
User: umgeher
Comment:simple
Tags And Properties
  • branch=rask/f/httpclient inherited from [7587e03116]
  • sym-rask/f/httpclient inherited from [7587e03116]
Context
2017-04-01
21:03
[7078e40350] Leaf: simple (user: umgeher, tags: rask/f/httpclient)
19:46
[4ef602e35f] httpclient is now in global options (user: umgeher, tags: rask/f/httpclient)
Changes

Changes to rask/rask/raid/handler.py.

174
175
176
177
178
179
180
181
182
183
184
185


186
187
188
189
190
191
192
                io=self
            )
        return True
    
    def push(self,_):
        def on_encode(payload):
            try:
                assert self.online
            except AssertionError:
                return False
            else:
                self.write_message(payload.result())


            return True

        _.payload['header']['__sysdate__'] = datetime_float_str()
        return options.raid['envelop'].pack(
            _,
            self.ioengine.future(on_encode)
        )







<
<
<
<

>
>







174
175
176
177
178
179
180




181
182
183
184
185
186
187
188
189
190
                io=self
            )
        return True
    
    def push(self,_):
        def on_encode(payload):
            try:




                self.write_message(payload.result())
            except:
                pass
            return True

        _.payload['header']['__sysdate__'] = datetime_float_str()
        return options.raid['envelop'].pack(
            _,
            self.ioengine.future(on_encode)
        )