Skip to content

Commit

Permalink
0.06 - Worker thread stack corruption bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
nemasu committed Feb 4, 2014
1 parent 98f579f commit 5f1cdb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ Usage

Changes
=======
2014-02-04 : asmttpd - 0.06

* Worker thread stack corruption bug fix.

2014-02-04 : asmttpd - 0.05

Expand Down
3 changes: 2 additions & 1 deletion main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%include "constants.asm"
%include "macros.asm"

%define ASMTTPD_VERSION "0.05"
%define ASMTTPD_VERSION "0.06"

%define LISTEN_PORT 0x5000 ; PORT 80, network byte order

Expand Down Expand Up @@ -488,6 +488,7 @@ worker_thread_continue:
mov rdi, [rbp-16]
mov rsi, r8 ; type, figured out above
pop rdx ; total file size
push rdx ; save for sendfile
call create_http200_response

mov r8, rax ; header size
Expand Down

0 comments on commit 5f1cdb2

Please sign in to comment.