Miek Gieben
44d3cc7daf
kill another make()
2011-08-09 13:15:25 +02:00
Miek Gieben
c37686a724
remove len(s) from the fastpath
2011-08-09 11:41:44 +02:00
Miek Gieben
100f8ef7eb
Remove len(msg) in favor of a variable with that value
2011-08-09 10:54:58 +02:00
Miek Gieben
1053090121
performace tweaks
2011-08-09 10:29:30 +02:00
Miek Gieben
da5d2e91a8
Remove another small allocation
2011-08-09 10:16:45 +02:00
Miek Gieben
e575e8c6f7
minor additions
2011-08-08 16:49:51 +02:00
Miek Gieben
3f3649509f
not needed
2011-08-08 16:41:16 +02:00
Miek Gieben
12a419e0f1
some go performance stuff added
2011-08-08 16:40:57 +02:00
Miek Gieben
54bf67a5f0
Fixes
2011-08-08 16:30:52 +02:00
Miek Gieben
e66de90871
Correct the Makefile too
2011-08-08 16:29:57 +02:00
Miek Gieben
7b96179c41
correct the names
2011-08-08 16:29:35 +02:00
Miek Gieben
7d2aabea76
re-add qperf
2011-08-08 16:29:13 +02:00
Miek Gieben
c64f506103
Remove a packStruct - should improve performance
2011-08-08 15:28:19 +02:00
Miek Gieben
4a8133eabd
Fix the order of the test
2011-08-08 15:12:24 +02:00
Miek Gieben
982f277a44
kill a packStruct
2011-08-08 14:09:05 +02:00
Miek Gieben
472935c3d2
Fix test
2011-08-08 13:21:18 +02:00
Miek Gieben
861a2adb6c
Forget to the add the i := fv.Uint()
2011-08-08 13:10:35 +02:00
Miek Gieben
0d917b3c92
accept an uint16, not an int
2011-08-08 10:35:16 +02:00
Miek Gieben
7ef1892814
Tests fails, but dont crash
2011-08-08 10:33:50 +02:00
Miek Gieben
68d2f49caa
another nil test
2011-08-08 10:30:28 +02:00
Miek Gieben
91fdd69c80
no panic in the lib
2011-08-08 10:29:30 +02:00
Miek Gieben
64715cc563
Extra nil checks
...
Now that parsing is broken. Fix the code to do nil checks
which now surface.
2011-08-08 10:20:52 +02:00
Miek Gieben
2a596f60b9
impl. the recent changes from the reflect package
2011-08-08 10:15:24 +02:00
Miek Gieben
d6716f693d
impl. the recent changes from the reflect package
2011-08-08 09:49:25 +02:00
Miek Gieben
a3bd25fad3
remove this
2011-08-04 15:46:39 +02:00
Miek Gieben
27948bb9f9
Use uint16 instead of int
2011-08-04 15:13:10 +02:00
Miek Gieben
a44eb54de2
put defer back in
2011-08-04 13:59:15 +02:00
Miek Gieben
1032e7593f
defer add a small performance penalty
2011-08-04 13:49:40 +02:00
Miek Gieben
c170e0bbaa
Eliminate allocations when using ExchangeBuffer()
2011-08-04 13:17:36 +02:00
Miek Gieben
069c5237f5
added
2011-08-04 11:27:56 +02:00
Miek Gieben
dfbfa8b452
still need the copy
2011-08-03 15:05:13 +02:00
Miek Gieben
4fbdf56f5f
implement a (working) TTL for the cache and use a mutex
2011-08-03 14:50:15 +02:00
Miek Gieben
70d6265e77
Looks like a cache, quacks like a cache.. its a cache. Not RCU though
2011-08-03 10:35:19 +02:00
Miek Gieben
16c788e42a
more
2011-08-02 14:28:20 +02:00
Miek Gieben
2d9e619c01
Upgrade to r59 of Go this means parsing is broken now
...
Ragel does not support newer versions of Go. But I do want to
upgrade to them. So parsing from strings has been disabled and
will be re-enabled when Ragel 7 is out
2011-08-02 09:06:15 +02:00
Miek Gieben
5e94ba32fd
Fix the code a bit
2011-08-01 20:07:50 +02:00
Miek Gieben
9330f16c5c
some minor tweaks
2011-08-01 14:13:13 +02:00
Miek Gieben
38d15b76e2
doc
2011-08-01 14:09:41 +02:00
Miek Gieben
9d4cbdbcc8
More docs
2011-08-01 14:00:18 +02:00
Miek Gieben
a460c45d2e
just use println
2011-08-01 13:59:02 +02:00
Miek Gieben
0565d0bddf
Even more simpler
2011-08-01 13:26:29 +02:00
Miek Gieben
327c9870c4
Fix funkensturm and make it simpler
2011-08-01 13:15:15 +02:00
Miek Gieben
ba30caf3b3
documentation
2011-07-31 22:29:50 +02:00
Miek Gieben
9bee591bc0
Make Funkensturm somewhat better
2011-07-31 16:09:48 +02:00
Miek Gieben
7cf37d9d6f
Add another funkensturm example
...
This time a reverse proxy.
Funkensturm itself can also use a rewrite to make it nicer
2011-07-31 15:36:07 +02:00
Miek Gieben
faaf0d6b8f
better documentation
2011-07-31 14:33:13 +02:00
Miek Gieben
4925a831aa
move zoneMatch to dns.go
2011-07-31 09:53:54 +02:00
Miek Gieben
770f580540
added
2011-07-31 09:14:54 +02:00
Miek Gieben
fae8f0f0ed
add debugging and profilling
2011-07-30 23:15:30 +02:00
Miek Gieben
05b7ac53dd
Create qnamelist for nsec/nsec3 handling
2011-07-30 23:05:34 +02:00