Giter Site home page Giter Site logo

rocket_csrf's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rocket_csrf's Issues

Index out of range error

Here is the backtrace I'm getting.

thread '<unnamed>' panicked at 'index 5793 out of range for slice of length 5148', libcore/slice/mod.rs:1971:5
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::slice_index_len_fail
             at libcore/slice/mod.rs:1971
   9: <core::ops::range::Range<usize> as core::slice::SliceIndex<[T]>>::index_mut
             at /checkout/src/libcore/slice/mod.rs:2148
  10: core::slice::<impl core::ops::index::IndexMut<I> for [T]>::index_mut
             at /checkout/src/libcore/slice/mod.rs:1964
  11: <rocket_csrf::csrf_proxy::CsrfProxy<'a> as std::io::Read>::read
             at /home/baptiste/.cargo/git/checkouts/rocket_csrf-3ea3def0d845c639/6fc55d2/src/csrf_proxy.rs:117
  12: std::io::read_to_end
             at /checkout/src/libstd/io/mod.rs:379
  13: std::io::Read::read_to_end
             at /checkout/src/libstd/io/mod.rs:605
  14: <rocket_csrf::csrf_fairing::CsrfFairing as rocket::fairing::Fairing>::on_response
             at /home/baptiste/.cargo/git/checkouts/rocket_csrf-3ea3def0d845c639/6fc55d2/src/csrf_fairing.rs:415
  15: 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
  16: <rocket::rocket::Rocket as hyper::server::Handler>::handle
             at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/rocket.rs:82
  17: <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
  18: <hyper::server::Worker<H>>::handle_connection
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:283
  19: hyper::server::handle::{{closure}}
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:242
  20: hyper::server::listener::spawn_with::{{closure}}
             at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/listener.rs:50

If you need any other info, tell me.

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.