Vincent Vanackere
0e043b3393
cleanup : unexport FilterMap & remove FilterSubstringsMap (unneeded)
2014-08-01 22:14:03 +02:00
Vincent Vanackere
acf536b08d
filter_test : rewrite encode/decode tests to be table-driven
...
Only 1 test for now but other tests should be written, especially to check the various possible encoding issues...
2014-08-01 22:04:17 +02:00
Vincent Vanackere
03389e6f26
filter : small code cleanup
...
Also use ber.DecodeString in DecompileFilter like with all other filters
2014-08-01 22:01:21 +02:00
Vincent Vanackere
da9e157102
Merge fixes for ldap present filter encoding/decoding from Gregory Haik
2014-08-01 21:02:51 +02:00
Vincent Vanackere
192ce467a8
Switch asn1-ber dependency to "github.com/vanackere/asn1-ber"
2014-07-24 13:07:31 +02:00
Vincent Vanackere
2b58f3ef14
examples : fix import path, add +build ignore directive
...
These examples are independant (and not part of a single package).
2014-07-24 10:33:06 +02:00
Vincent Vanackere
3f715a8421
Remove data race between *Conn.Close() and *Conn.reader()
...
A single channel is now used to signal that the connection was closed.
There is also no need to set the net.Conn field to nil as this was causing a nil pointer dereference in the reader loop.
2014-07-23 15:11:43 +02:00