chris-morgan / rust-http

Completely OBSOLETE Rust HTTP library (server and client)
Other
390 stars 110 forks source link

Lastest Commit is breaking Compile #168

Closed jaredonline closed 9 years ago

jaredonline commented 9 years ago

https://gist.github.com/jaredonline/a7aefd932bddae3b8500

   Compiling http v0.1.0-pre (https://github.com/chris-morgan/rust-http.git#3f442dee)
src/http/client/sslclients/openssl.rs:22:27: 22:51 error: this function takes 2 parameters but 1 parameter was supplied [E0061]
src/http/client/sslclients/openssl.rs:22         let stream = try!(TcpStream::connect(addr));
                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
<std macros>:1:1: 8:2 note: in expansion of try!
src/http/client/sslclients/openssl.rs:22:22: 22:53 note: expansion site
src/http/server/mod.rs:29:34: 29:72 error: this function takes 2 parameters but 1 parameter was supplied [E0061]
src/http/server/mod.rs:29         let mut acceptor = match TcpListener::bind(config.bind_address).listen() {
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/http/server/mod.rs:136:33: 136:71 error: this function takes 2 parameters but 1 parameter was supplied [E0061]
src/http/server/mod.rs:136         let mut acceptor = try!(TcpListener::bind(config.bind_address).listen());
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<std macros>:1:1: 8:2 note: in expansion of try!
src/http/server/mod.rs:136:28: 136:82 note: expansion site
error: aborting due to 3 previous errors
Could not compile `http`.
jaredonline commented 9 years ago

Wrong version of Rust. Sorry, shoulda tried that first ]=