Commit Graph

31 Commits (master)

Author SHA1 Message Date
q3k 51a09827dd Config reload with SIGHUP. 2012-11-14 15:39:58 +01:00
Michael P. Soulier 3e0a967133 Removing trailing whitespace 2012-10-04 08:28:55 -04:00
Michael Farrell e8039dd715 improve the check on dyn_file_func of TftpServer 2012-04-12 10:34:35 +09:30
Michael Farrell 9cba3b98d8 allow TftpServer.root not to exist if a dyn_file_func is provided 2012-04-11 17:25:56 +09:30
Michael P. Soulier 40977c6f74 Fixing some pyflakes complaints 2011-07-23 23:28:45 -04:00
Michael P. Soulier add444006c Fixes issue #23, breaking up TftpStates into TftpStates and TftpContexts. 2011-07-23 23:20:53 -04:00
Michael P. Soulier 1e74abf010 Adding retries on timeouts, still have to exhaustively test.
Should close issue #21 on github.
2011-07-23 19:40:53 -04:00
Kenny Millington a6cff4f0b2 Fix exceptions propagating out of TftpServer.listen()
Signed-off-by: Michael P. Soulier <msoulier@digitaltorque.ca>
2010-10-22 20:33:23 -04:00
Michael P. Soulier 1caa220a9a Latest doc updates 2010-07-11 21:19:01 -04:00
Michael P. Soulier faebd44978 Fixing buffering issue in upload. Uploads work now. 2010-05-10 16:11:22 -04:00
Michael P. Soulier 2bb832642a First working upload with new state machine. Not usable yet, upload fails to
always send all data for some reason.
2010-05-10 15:25:31 -04:00
Michael P. Soulier 781072bfe8 Updated resent_data in metrics. 2009-08-18 22:38:26 -04:00
Michael P. Soulier 3ae3b31bf4 Fixed server metrics summary. 2009-08-18 22:27:18 -04:00
Michael P. Soulier a6a18c178b First successful download with both client and server. 2009-08-16 19:57:11 -04:00
Michael P. Soulier 62b22fb562 Did some rework for the state machine in a server context.
Removed the handler framework in favour of a TftpContextServer used
as the session.
2009-08-16 19:56:06 -04:00
Michael P. Soulier 5ee5f63f9b Adding patch for dynamic content from Alex ? <yix@ya.ru> 2009-07-21 09:42:53 -04:00
Michael P. Soulier e7a63bbbc2 Started overhaul of state machine. 2009-04-10 23:07:49 -04:00
Michael P. Soulier bc55a17f34 Fixing bogus warnings in options handling. 2009-04-07 18:40:26 -04:00
Michael P. Soulier d058642025 Fixing tftproot configured for server as a relative path. 2009-04-07 17:22:37 -04:00
Michael P. Soulier 07416bf848 Rebased tsize branch and added a --tsize option to the client.
Now sending all packets to the progresshook, not just DAT packets,
so that the client can see the OACK. Not yet making use of the returned
tsize. Need to test this on a server that supports tsize.
2008-10-04 20:42:27 -04:00
Michael P. Soulier 8a0162b317 Adding transfer size option patch from Kuba Kończyk.
Patch 2018609 in SF tracker.
2008-10-04 15:35:41 -04:00
msoulier 70f22b1ca1 Fix for [ 1932310 ] security check always fail for windows.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@82 63283fd4-ec1e-0410-9879-cb7f675518da
2008-05-20 02:20:54 +00:00
msoulier 3b1bae3470 Fix for bug [ 1932330 ] binary downloads fail in Windows.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@80 63283fd4-ec1e-0410-9879-cb7f675518da
2008-05-20 02:00:46 +00:00
msoulier f8af287f32 Fixing 1851544 - server not tolerant of unsupported options
Thanks to Landon Jurgens for the report.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@75 63283fd4-ec1e-0410-9879-cb7f675518da
2007-12-16 15:48:36 +00:00
msoulier 2a98d72540 Removed redundant comparison.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@72 63283fd4-ec1e-0410-9879-cb7f675518da
2007-07-16 22:55:50 +00:00
msoulier 955ced3747 Fixing string/integer comparison.
Thanks to Simon P. Ditner, bug #1755146.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@71 63283fd4-ec1e-0410-9879-cb7f675518da
2007-07-16 22:53:08 +00:00
msoulier 5c52975f5f Removed mention of sorceror's apprentice problem.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@62 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-17 03:10:46 +00:00
msoulier c7d86d36df Supplying a default blksize options in the server.
Fix for 1633625.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@60 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-17 01:40:02 +00:00
msoulier 07906cdbd9 Added a check for rogue packets in the server.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@59 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-10 02:27:12 +00:00
msoulier f53e68bcd5 Making the lib backwards-compatible to Python 2.3.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@58 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-09 18:48:48 +00:00
msoulier 5e6d8fe13f Restructuring single lib into a package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@52 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 06:08:05 +00:00