Maximilian Hils
12b0a72db8
fix http version string
2016-02-08 15:10:16 +01:00
Maximilian Hils
5f159da488
fix tests
2015-12-03 18:45:37 +01:00
Maximilian Hils
fa722e0290
adjust to netlib changes
2015-09-26 17:40:22 +02:00
Maximilian Hils
a163dba582
adjust to netlib request model changes
2015-09-26 00:40:01 +02:00
Maximilian Hils
2f670bac99
fix tests, use pytest
...
We currently test with unparallelized builds,
because there are apparently some race conditions
in the test suite, which I can't trigger locally
but happen on travis.
Squashed commit of the following:
commit 7dceb6dd3a1bdbc39688258bc4dff6eee685a33b
Author: Maximilian Hils <git@maximilianhils.com>
Date: Mon Sep 21 23:00:24 2015 +0200
disable parallelized tests
commit fc0c3f12ee9259162e83026851362925d93b69f2
Author: Maximilian Hils <git@maximilianhils.com>
Date: Mon Sep 21 22:49:19 2015 +0200
fix tests
commit baba3ca5ef49bdbd7aad14f1bf0626738fa3d21c
Author: Maximilian Hils <git@maximilianhils.com>
Date: Mon Sep 21 22:28:20 2015 +0200
fix tests, use py.test
2015-09-21 23:03:45 +02:00
Maximilian Hils
6661ad3143
code -> status_code, httpversion -> http_version
2015-09-17 15:25:28 +02:00
Maximilian Hils
f61109db84
use new netlib exceptions
2015-09-17 02:13:42 +02:00
Maximilian Hils
1a6e41c200
minor fixes
2015-09-16 20:12:53 +02:00
Maximilian Hils
9f26d68f47
adjust to netlib changes
2015-09-16 18:44:34 +02:00
Maximilian Hils
dd317aa5d2
fix alpn
2015-08-28 17:35:22 +02:00
Thomas Kriechbaumer
31dbd2fc75
use netlib http semantics
2015-07-30 19:42:48 +02:00
Thomas Kriechbaumer
d301f55bb7
supress output during tests
2015-07-24 17:58:35 +02:00
Thomas Kriechbaumer
3cf6bd5fb6
remove debug prints
2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
11ac387df2
rename content -> body
2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
6d5a3da929
use new HTTP/1 protocol
2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
2b0465dbb9
use new netlib module names
2015-07-22 15:30:33 +02:00
Thomas Kriechbaumer
78ae3e4a00
use netlib.http_semantics for generic data
2015-07-22 15:30:33 +02:00
Maximilian Hils
4ef83d8c11
pathoc: add socks connect
2015-07-03 02:48:35 +02:00
Aldo Cortesi
4407508e0c
Give some structure to the logging module
2015-06-28 12:16:02 +12:00
Thomas Kriechbaumer
49707dd97f
http2: implement embedded response
2015-06-26 10:48:42 +02:00
Thomas Kriechbaumer
46255e6e9c
http2: implement more language features
2015-06-25 14:59:22 +02:00
Aldo Cortesi
94a7770a94
Output warning info to log fp using logging methods
2015-06-25 10:33:35 +12:00
Thomas Kriechbaumer
7a3623a14e
fix pep8 whitespace
2015-06-18 18:15:22 +02:00
Thomas Kriechbaumer
bd0cfef357
exclude tests on old OpenSSL without ALPN
2015-06-18 10:48:13 +02:00
Thomas Kriechbaumer
408b4ffef0
http2: implement Headers for request & response
...
improve test coverage
fix super ctor call
fix legacy httpversion
simpliy SSLInfo without ALPN
2015-06-16 14:53:41 +02:00
Thomas Kriechbaumer
a0d8afd0fc
http2: add request-response to pathod
2015-06-15 15:51:01 +02:00
Thomas Kriechbaumer
30fbf57e4b
delay pathod parsing until needed
...
This allows us to use different languages based on runtime env.
2015-06-15 15:50:45 +02:00
Thomas Kriechbaumer
0bc8fa1d0d
http2: add pathoc and language tests
2015-06-15 15:50:44 +02:00
Thomas Kriechbaumer
b7c8021407
http2: using http2 implies SSL
2015-06-15 15:50:44 +02:00
Thomas Kriechbaumer
18a4456397
refactor cmdline tests
2015-06-15 15:50:44 +02:00
Aldo Cortesi
7b4e50bb68
Bump timeouts to appease Travis.
2015-06-08 16:34:21 +12:00
Aldo Cortesi
332832278f
100% test coverage
2015-06-08 16:25:33 +12:00
Aldo Cortesi
97fdb9ef0c
More timeout improvements
2015-06-08 15:57:29 +12:00
Aldo Cortesi
3ad73dfb5b
Debug to diagnose Travis races
2015-06-08 15:40:58 +12:00
Aldo Cortesi
317db54666
Revamp timeout handling and test logging
2015-06-08 15:23:56 +12:00
Aldo Cortesi
af22814bc3
Revamp error logging somewhat
2015-06-08 14:01:04 +12:00
Aldo Cortesi
7dff8f0dca
Convert parse_websocket_frame to a generator
2015-06-08 10:58:12 +12:00
Aldo Cortesi
df962f8e7b
Convert parse_pathod to generator
2015-06-07 16:11:32 +12:00
Aldo Cortesi
0da3e51e1c
Make parse_pathoc a generator
...
This lets us do things like this:
get:/:ir,@1:x1000000000
It will also let us expand the language to include a "repeat forever" concept.
2015-06-07 13:18:33 +12:00
Aldo Cortesi
7412ec83f5
Refactor pathoc message receive to use queues and generators
...
This gives us a nicer, thread-safe interface.
2015-06-05 16:03:17 +12:00
Aldo Cortesi
d23691f98c
Improve websocket logging
2015-06-05 12:04:40 +12:00
Aldo Cortesi
0a7da6a9b1
Rudimentary support for reflected websocket frames.
2015-06-04 23:57:23 +12:00
Aldo Cortesi
9311d60596
Test output to try to figure out why Travis no longer loves us
2015-06-04 20:42:11 +12:00
Aldo Cortesi
07d5b90ebf
Shore up test suite.
2015-06-04 20:36:50 +12:00
Aldo Cortesi
fb1b9113a1
Try to fix test suite race like a savage.
2015-06-04 19:55:01 +12:00
Aldo Cortesi
80d191ff7c
Try to appease Travis
2015-06-04 19:45:22 +12:00
Aldo Cortesi
5a33f31041
Clarify nomenclature, complete nested frame language spec.
2015-06-04 18:14:25 +12:00
Aldo Cortesi
9fda74c65a
Clarify language API, stub out nested websocket frames
2015-06-04 17:18:06 +12:00
Aldo Cortesi
6122f2da44
Change test API to allow multiple pathoc requests
...
Add simple unit test for websocket server
2015-05-31 18:38:11 +12:00
Aldo Cortesi
a09f3e06c3
Factor logger out of pathoc, use it in pathod as well.
2015-05-30 17:43:01 +12:00