Giter Site home page Giter Site logo

Comments (3)

trinity-1686a avatar trinity-1686a commented on June 1, 2024 1

Fixed that too, now it should be good

from rocket_csrf.

trinity-1686a avatar trinity-1686a commented on June 1, 2024

Could you test again? I think I've fixed it.

from rocket_csrf.

elegaanz avatar elegaanz commented on June 1, 2024

I'm getting another error now:

thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `1103`,
 right: `1748`: destination and source slices have different lengths', libcore/slice/mod.rs:1654:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:475
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:390
   6: rust_begin_unwind
             at libstd/panicking.rs:325
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:77
   8: core::slice::<impl [T]>::copy_from_slice
             at /checkout/src/libcore/macros.rs:26
   9: <rocket_csrf::csrf_proxy::CsrfProxy<'a> as std::io::Read>::read
             at /home/baptiste/.cargo/git/checkouts/rocket_csrf-3ea3def0d845c639/c852e55/src/csrf_proxy.rs:117
  10: std::io::read_to_end
             at /checkout/src/libstd/io/mod.rs:379
  11: std::io::Read::read_to_end
             at /checkout/src/libstd/io/mod.rs:605
  12: <rocket_csrf::csrf_fairing::CsrfFairing as rocket::fairing::Fairing>::on_response
             at /home/baptiste/.cargo/git/checkouts/rocket_csrf-3ea3def0d845c639/c852e55/src/csrf_fairing.rs:415
  13: rocket::rocket::Rocket::dispatch
             at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/fairing/fairings.rs:70
             at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/rocket.rs:222
  14: <rocket::rocket::Rocket as hyper::server::Handler>::handle
             at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/rocket.rs:82
  15: <hyper::server::Worker<H>>::keep_alive_loop
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:337
  16: <hyper::server::Worker<H>>::handle_connection
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:283
  17: hyper::server::handle::{{closure}}
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:242
  18: hyper::server::listener::spawn_with::{{closure}}
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/listener.rs:50

from rocket_csrf.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.